(function(){var templateCache = window.$templateCache||Ares.templateCache;templateCache.put('/app/emr/emr-print/emr-table-print-template.html','<div style="width: 100%" id="emrBatchTemplateBody">    <div ng-repeat="item in medicalRecords|filter:{workflowStatus:\'!1\'}" id="#{{item.id}}" style="display:none">        <div ng-if="printTemplateConfig.templateCode ==\'A4EMRTemplate1\' && !isEmrCustomTemplateEnabled" id="A4EMRTemplate1" name="A4EMRTemplate1" style="width: 100%;" ng-style="{\'page-break-after\':isMedicalRecordPaginationPrintEnabled?\'always\':\'avoid\'}">            <div style="margin: 0px auto" ng-style="{\'width\':isEmrCustomTemplateEnabled?\'90%\':\'auto\'}">                <h1 style="text-align:center;font-weight:bolder;padding:0;">{{office.name}}就诊病历</h1>                <div style="width: 100%;border-bottom:1px solid black;" class="emrCustomTemplate" ng-if="isEmrCustomTemplateEnabled">                    <table style="width:100%;font-size:15px ;font-weight:900;">                        <tr>                            <td>                                <table style="width:100%;">                                    <tr>                                        <td style="font-size:15px ;font-weight:900; width:40%">                                            姓名：{{patient.name}}                                        </td>                                        <td style="font-size:15px ;font-weight:900; width:25%">                                            性别：{{patient.sex|toSexString}}                                        </td>                                        <td style="font-size:15px ;font-weight:900; ">                                            出生年月日：{{patient.birth|toDateString}}                                        </td>                                    </tr>                                    <tr>                                        <td style="font-size:15px ;font-weight:900; width:40%">                                            身份证号：{{patient.identityCard}}                                        </td>                                        <td style="font-size:15px ;font-weight:900; width:25%">                                            病历号：{{patient.privateId}}                                        </td>                                        <td style="font-size:15px ;font-weight:900; ">                                            就诊日期：{{item.appointDateTime|toDateString}}                                        </td>                                    </tr>                                </table>                            </td>                        </tr>                    </table>                </div>                <div style="width: 100%" ng-if="!isEmrCustomTemplateEnabled">                    <div style="border-top:2px solid black;border-bottom:2px solid black;">                        <table style="width:100%;">                            <tr>                                <td style="font-size:15px ;font-weight:900; width:30%;">姓名：{{patient.name}}</td>                                <td style="font-size:15px ;font-weight:900; width:30%;">性别：{{patient.sex|toSexString}}</td>                                <td style="font-size:15px ;font-weight:900; width:30%;">出生年月：{{patient.birth|toDateString}}</td>                            </tr>                        </table>                    </div>                    <div style="margin-top:10px;border-bottom:1px solid black;">                        <table style="width:100%;">                            <tr>                                <td style="font-size:15px ;font-weight:900;">病历号：{{patient.privateId}}</td>                                <td style="font-size:15px ;font-weight:900;">就诊日期：{{item.appointDateTime|toDateString}}</td>                                <td style="font-size:15px ;font-weight:900;" ng-if="item.instructorName">实习医生：{{item.doctorName}}</td>                                <td style="font-size:15px ;font-weight:900;" ng-if="item.instructorName">医生：{{item.instructorName}}</td>                                <td style="font-size:15px ;font-weight:900;" ng-if="!item.instructorName">医生：{{item.doctorName}}</td>                            </tr>                        </table>                    </div>                </div>                <div style="border-bottom:1px solid black;">                    <table style="width:100%;">                        <tr ng-if="!(item.chiefComplaint.length==0 && isDisableEMRBlankPrint)">                            <td style="font-size:15px ;font-weight:900; width:120px;">{{item.firstVisit?"主诉:":"复诊:"}}</td>                            <td style="font-size:14px;font-weight:900;" ng-bind-html="item.chiefComplaint"></td>                        </tr>                        <tr ng-if="!(item.history.length==0 && isDisableEMRBlankPrint)">                            <td style="font-size:15px ;font-weight:900; width:120px;">现病史:</td>                            <td style="font-size:14px;font-weight:900;" ng-bind-html="item.history"></td>                        </tr>                        <tr ng-if="!(item.pastHistory.length==0 && isDisableEMRBlankPrint)">                            <td style="font-size:15px ;font-weight:900; width:120px;">既往史:</td>                            <td style="font-size:14px;font-weight:900;" ng-bind-html="item.pastHistory"></td>                        </tr>                        <tr ng-if="!(item.oralCheckRecordList.length==0&& isDisableEMRBlankPrint)">                            <td style="font-size:15px ;font-weight:900; width:120px;vertical-align:top;">{{isEmrCustomTemplateEnabled?"检查":"口腔检查"}}:</td>                            <td style="font-weight:900;">                                <table class=" table ">                                    <tbody>                                        <tr style="vertical-align:top;" ng-repeat="oral in item.oralCheckRecordList">                                            <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px; font-family: 宋体;">                                                <ares-emr-tooth-selector selected-tooth-codes="oral.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                            </td>                                            <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px;">                                                <span ng-bind-html="oral.fdiToothCodes|toToothFdiHtml"></span>                                            </td>                                            <td style="border-top: 1px dashed black;width:auto;font-size:14px;">                                                <div class="record-text" ng-if="IsAloneSaveOralCheckSymptom&&oral.observationName">                                                    症状：<span ng-bind-html="oral.observationName|replaceHtmlWrap"></span>                                                </div>                                                <div class="record-text">                                                    <span ng-bind-html="oral.description|replaceHtmlWrap"></span>                                                </div>                                            </td>                                            <!--<td style="border-top: 1px dashed black;width:auto;font-size:14px;" ng-bind-html="oral.description"></td>-->                                        </tr>                                    </tbody>                                </table>                            </td>                        </tr>                        <tr ng-if="!(item.radiologyCheckRecordList.length==0&& isDisableEMRBlankPrint)">                            <td style="font-size:15px ;font-weight:900; width:120px;vertical-align:top;">{{isEmrCustomTemplateEnabled?"X线检查示":"辅助检查"}}:</td>                            <td style="font-weight:900;">                                <table class=" table ">                                    <tbody>                                        <tr style="vertical-align:top;" ng-repeat="rad in item.radiologyCheckRecordList">                                            <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px; font-family: 宋体;">                                                <ares-emr-tooth-selector selected-tooth-codes="rad.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                            </td>                                            <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px;">                                                <span ng-bind-html="rad.fdiToothCodes|toToothFdiHtml"></span>                                            </td>                                            <td style="border-top: 1px dashed black;width:auto;font-size:14px;" ng-bind-html="rad.description"></td>                                        </tr>                                    </tbody>                                </table>                            </td>                        </tr>                        <tr ng-if="!(item.associatedImageList.length === 0 && isDisableEMRBlankPrint)">                            <td style="font-size:15px ;font-weight:900; width:120px;vertical-align:top;">相关影像:</td>                            <td style="font-weight: 900;">                                <table class=" table ">                                    <tbody>                                        <tr style="vertical-align:top;">                                            <td>                                                <emr-medical-image-display-view current-value="item.associatedImageList" is-print="true"></emr-medical-image-display-view>                                            </td>                                        </tr>                                    </tbody>                                </table>                            </td>                        </tr>                        <tr ng-if="!(item.diagnoseRecordList.length==0&& isDisableEMRBlankPrint)">                            <td style="font-size:15px ;font-weight:900; width:120px;vertical-align:top;">诊断:</td>                            <td style="font-weight:900;">                                <table class=" table ">                                    <tbody>                                        <tr style="vertical-align:top;" ng-repeat="diag in item.diagnoseRecordList">                                            <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px; font-family: 宋体;">                                                <ares-emr-tooth-selector selected-tooth-codes="diag.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                            </td>                                            <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px;">                                                <span ng-bind-html="diag.fdiToothCodes|toToothFdiHtml"></span>                                            </td>                                            <td style="border-top: 1px dashed black;width:auto;font-size:14px;" ng-bind-html="diag.diagnose"></td>                                        </tr>                                    </tbody>                                </table>                            </td>                        </tr>                        <tr ng-if="isDiseaseCertificateEnabled&&!(item.treatmentAdviceList.length==0&& isDisableEMRBlankPrint)">                            <td style="font-size:15px ;font-weight:900; width:120px;vertical-align:top;">治疗建议:</td>                            <td style="font-weight:900;">                                <table class=" table ">                                    <tbody>                                        <tr style="vertical-align:top;" ng-repeat="tr in item.treatmentAdviceList">                                            <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px; font-family: 宋体;">                                                <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                            </td>                                            <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px;">                                                <span ng-bind-html="tr.fdiToothCodes|toToothFdiHtml"></span>                                            </td>                                            <td style="border-top: 1px dashed black;width:auto;font-size:14px;" ng-bind-html="tr.content"></td>                                        </tr>                                    </tbody>                                </table>                            </td>                        </tr>                        <tr ng-if="!(item.treatmentPlanList.length==0&& isDisableEMRBlankPrint)">                            <td style="font-size:15px ;font-weight:900; width:120px;vertical-align:top;">治疗方案:</td>                            <td style="font-weight:900;">                                <table class=" table ">                                    <tbody>                                        <tr style="vertical-align:top;" ng-repeat="tr in item.treatmentPlanList">                                            <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px; font-family: 宋体;">                                                <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                            </td>                                            <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px;">                                                <span ng-bind-html="tr.fdiToothCodes|toToothFdiHtml"></span>                                            </td>                                            <td style="border-top: 1px dashed black;width:auto;font-size:14px;" ng-bind-html="tr.planContent"></td>                                        </tr>                                    </tbody>                                </table>                            </td>                        </tr>                        <tr ng-if="!(item.cureRecordList.length==0&& isDisableEMRBlankPrint)">                            <td style="font-size:15px ;font-weight:900; width:120px;vertical-align:top;">{{isEmrCustomTemplateEnabled?"处理":"处置"}}:</td>                            <td style="font-weight:900;">                                <table class=" table ">                                    <tbody>                                        <tr style="vertical-align:top;" ng-repeat="cr in item.cureRecordList">                                            <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px; font-family: 宋体;">                                                <ares-emr-tooth-selector selected-tooth-codes="cr.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                            </td>                                            <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px;">                                                <span ng-bind-html="cr.fdiToothCodes|toToothFdiHtml"></span>                                            </td>                                            <td style="border-top: 1px dashed black;width:auto;font-size:14px;" ng-bind-html="cr.cure"></td>                                        </tr>                                    </tbody>                                </table>                            </td>                        </tr>                        <tr ng-if="!(item.advice.length==0 && isDisableEMRBlankPrint)">                            <td style="font-size:15px;font-weight:900; width:120px;vertical-align:top;">医嘱:</td>                            <td style="font-weight:900;font-size:14px;" ng-bind-html="item.advice"></td>                        </tr>                        <tr ng-if="!(item.comment.length==0 && isDisableEMRBlankPrint)">                            <td style="font-size:15px ;font-weight:900; width:120px;vertical-align:top;">备注:</td>                            <td style="font-weight:900;font-size:14px;" ng-bind-html="item.comment"></td>                        </tr>                    </table>                </div>                <div style="border-bottom:1px solid black;">                    <table style="width:100%;">                        <tr>                            <td style="font-size:14px;font-weight:900;">地址：{{office.address}}</td>                            <td style="font-size:14px;font-weight:900;">联系电话：{{office.phoneNumber}}</td>                        </tr>                    </table>                </div>                <div ng-if="isEmrCustomTemplateEnabled" class="emrCustomTemplate" style="border-top:1px solid black;">                    <table style="width:100%;">                        <tr>                            <td>                                <table style="width:100%;">                                    <tr>                                        <td style="font-size:14px;font-weight:900;text-align:left">                                            医生签字：                                        </td>                                        <td style="font-size:14px;font-weight:900;text-align:right">                                            &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp年&nbsp&nbsp&nbsp&nbsp月&nbsp&nbsp&nbsp&nbsp日&nbsp&nbsp&nbsp&nbsp时&nbsp&nbsp&nbsp&nbsp分                                        </td>                                    </tr>                                </table>                            </td>                        </tr>                    </table>                </div>            </div>        </div>        <div ng-if="printTemplateConfig.templateCode ==\'A4EMRCusTemplate1\'" id="A4EMRCusTemplate1" name="A4EMRCusTemplate1" style="width: 100%;" ng-style="{\'page-break-after\':isMedicalRecordPaginationPrintEnabled?\'always\':\'avoid\'}">            <style scoped>                .print-medical-record {                    font-family: \'MacOsFont\', \'Microsoft Yahei\', \'微软雅黑\', Verdana, Arial, Helvetica, sans-serif !important;                    font-size: 14px;                }                    .print-medical-record .emr-chief-complaint .emr-field-content textarea,                    .print-medical-record .emr-history .emr-field-content textarea,                    .print-medical-record .emr-past-history .emr-field-content textarea,                    .print-medical-record .emr-advice .emr-field-content textarea,                    .print-medical-record .emr-comment .emr-field-content textarea {                        margin: 0 39px;                        width: 91%;                        min-width: 91%;                        height: auto;                    }                    .print-medical-record .emr-oral-check-records .emr-field-content textarea,                    .print-medical-record .emr-cure-records .emr-field-content textarea,                    .print-medical-record .emr-diagnose-records .emr-field-content textarea,                    .print-medical-record .emr-radiology-check-records .emr-field-content textarea,                    .print-medical-record .emr-treatment-advices .emr-field-content textarea,                    .print-medical-record .emr-treatment-plans .emr-field-content textarea {                        margin: 0 0;                        width: 96%;                        min-width: 96%;                        height: auto;                    }                    .print-medical-record label {                        margin: 0;                    }                    .print-medical-record .medical-record-content > div {                        border-bottom: 1px solid #D8E0E7;                        padding: 2px;                    }                    .print-medical-record .emr-level-0-group-title,                    .print-medical-record .emr-level-0-title {                        display: table-cell;                        width: 80px;                        vertical-align: middle;                    }                    .print-medical-record .emr-level-0-group-content,                    .print-medical-record .emr-level-0-content {                        display: table-cell;                    }                    .print-medical-record .emr-level-1-group-content,                    .print-medical-record .emr-level-2-group-content,                    .print-medical-record .emr-level-3-group-content {                        padding: 12px 12px;                    }                    .print-medical-record .emr-level-1-title,                    .print-medical-record .emr-level-2-title,                    .print-medical-record .emr-level-3-title {                        vertical-align: top;                        display: table-cell;                        min-width: 50px;                    }                    .print-medical-record .emr-level-1-content,                    .print-medical-record .emr-level-2-content,                    .print-medical-record .emr-level-3-content {                        vertical-align: top;                        display: table-cell;                    }                    .print-medical-record .tooth-text[ng-show="allowToothFDI"] {                        display: none !important;                    }                    .print-medical-record .ares-emr-tooth-selector-view .tooth-chart .quadrant1 {                        border-bottom: 1px solid #00a6c9;                        min-width: 50px;                        text-align: right;                    }                    .print-medical-record .ares-emr-tooth-selector-view .tooth-chart .quadrant2 {                        border-left: 1px solid #00a6c9;                        border-bottom: 1px solid #00a6c9;                        min-width: 50px;                        text-align: left;                    }                    .print-medical-record .ares-emr-tooth-selector-view .tooth-chart .quadrant3 {                        border-left: 1px solid #00a6c9;                        min-width: 50px;                        text-align: left;                    }                    .print-medical-record .ares-emr-tooth-selector-view .tooth-chart .quadrant4 {                        min-width: 50px;                        text-align: right;                    }            </style>            <div style="margin: 0px auto;width:auto;">                <h1 style="text-align:center;font-weight:bolder;padding:0;">{{office.name}}就诊病历</h1>                <div style="width: 100%">                    <div style="border-top:2px solid black;border-bottom:2px solid black;">                        <table style="width:100%;">                            <tr>                                <td style="font-size:15px ;font-weight:900; width:30%;">姓名：{{patient.name}}</td>                                <td style="font-size:15px ;font-weight:900; width:30%;">性别：{{patient.sex|toSexString}}</td>                                <td style="font-size:15px ;font-weight:900; width:30%;">出生年月：{{patient.birth|toDateString}}</td>                            </tr>                        </table>                    </div>                    <div style="margin-top:10px;border-bottom:1px solid black;">                        <table style="width:100%;">                            <tr>                                <td style="font-size:15px ;font-weight:900;">病历号：{{patient.privateId}}</td>                                <td style="font-size:15px ;font-weight:900;">就诊日期：{{item.appointDateTime|toDateString}}</td>                                <td style="font-size:15px ;font-weight:900;" ng-if="item.instructorName">实习医生：{{item.doctorName}}</td>                                <td style="font-size:15px ;font-weight:900;" ng-if="item.instructorName">医生：{{item.instructorName}}</td>                                <td style="font-size:15px ;font-weight:900;" ng-if="!item.instructorName">医生：{{item.doctorName}}</td>                            </tr>                        </table>                    </div>                </div>                <div class="print-medical-record" style="border-bottom:1px solid black;">                    <emr-display-host-view medical-record="item"                                           is-emr-custom-template-enabled="isEmrCustomTemplateEnabled"                                           allow-tooth-fdi="allowToothFDI"                                           allow-edit-tooth="allowEditTooth"></emr-display-host-view>                </div>                <div style="border-bottom:1px solid black;">                    <table style="width:100%;">                        <tr>                            <td colspan="2" style="font-size:14px;font-weight:900;">地址：{{office.address}}</td>                            <td style="font-size:14px;font-weight:900;">联系电话：{{office.phoneNumber}}</td>                        </tr>                        <tr>                            <td style="font-size:14px;font-weight:900;">医生签字：</td>                            <td style="font-size:14px;font-weight:900;">患者家长签字：</td>                            <td style="font-size:14px;font-weight:900;">时间：</td>                        </tr>                    </table>                </div>            </div>        </div>        <div ng-if="printTemplateConfig.templateCode ==\'A5EMRTemplate1\' && !isEmrCustomTemplateEnabled" id="A5EMRTemplate1" name="A5EMRTemplate1" style="width: 100%;" ng-style="{\'page-break-after\':isMedicalRecordPaginationPrintEnabled?\'always\':\'avoid\'}">            <style scoped>                .titleFont {                    font-size: 10px;                    font-family: SimHei;                }                .boldFont {                    font-weight: bolder;                    font-family: SimHei;                }            </style>            <div style="margin: 0px auto" ng-style="{\'width\':isEmrCustomTemplateEnabled?\'90%\':\'auto\'}">                <style scoped>                    .titleFont {                        font-size: 10px;                        font-family: SimHei;                    }                    .boldFont {                        font-weight: bolder;                        font-family: SimHei;                    }                </style>                <div style="text-align:center;font-weight:bolder;padding:0;font-size:larger;">{{office.name}}电子病历</div>                <div style="width: 100%;margin-top:10px;border-bottom:1px solid black;" class="emrCustomTemplate" ng-if="isEmrCustomTemplateEnabled">                    <table style="width:100%;font-size:15px ;font-weight:900;">                        <tr>                            <td>                                <table style="width:100%;">                                    <tr>                                        <td style="font-size:12px; font-weight: bolder; width:40%">                                            姓名：{{patient.name}}                                        </td>                                        <td style="font-size:12px; font-weight: bolder; width:25%">                                            性别：{{patient.sex|toSexString}}                                        </td>                                        <td style="font-size:12px; font-weight: bolder; ">                                            出生年月日：{{patient.birth|toDateString}}                                        </td>                                    </tr>                                    <tr>                                        <td style="font-size:12px; font-weight: bolder; width:40%">                                            身份证号：{{patient.identityCard}}                                        </td>                                        <td style="font-size:12px; font-weight: bolder; width:25%">                                            病历号：{{patient.privateId}}                                        </td>                                        <td style="font-size:12px; font-weight: bolder; ">                                            就诊日期：{{item.appointDateTime|toDateString}}                                        </td>                                    </tr>                                </table>                            </td>                        </tr>                    </table>                </div>                <div style="width: 100%" ng-if="!isEmrCustomTemplateEnabled">                    <table style="width:100%;">                        <tr>                            <td style="font-size:12px; font-weight: bolder; width:20%;">编号:{{patient.privateId}}</td>                            <td style="font-size:12px; font-weight: bolder; width:20%;">姓名:{{patient.name}}</td>                            <td style="font-size:12px; font-weight: bolder; width:10%;">性别:{{patient.sex|toSexString}}</td>                            <td style="font-size:12px; font-weight: bolder; width:10%;">年龄:{{patient.age}}</td>                        </tr>                    </table>                </div>                <div ng-if="!(item.chiefComplaint.length==0 && isDisableEMRBlankPrint)">                    <div style="border-top:2px solid black;font-size:14px;">                        {{item.firstVisit?"主诉:":"复诊:"}}                    </div>                    <div ng-bind-html="item.chiefComplaint" style="font-size:smaller;margin-left:10px">                    </div>                </div>                <div ng-if="!(item.history.length==0 && isDisableEMRBlankPrint)">                    <div style="font-size:14px;">                        现病史:                    </div>                    <div ng-bind-html="item.history" style="font-size:smaller;margin-left:10px"> </div>                </div>                <div ng-if="!(item.pastHistory.length==0 && isDisableEMRBlankPrint)">                    <div style="font-size:14px;">                        既往史:                    </div>                    <div ng-bind-html="item.pastHistory" style="font-size:smaller;margin-left:10px"> </div>                </div>                <div ng-if="!(item.oralCheckRecordList.length==0&& isDisableEMRBlankPrint)">                    <div style="font-size:14px;">                        <b>{{isEmrCustomTemplateEnabled?"检查":"口腔检查"}}:</b>                    </div>                    <div ng-repeat="oral in item.oralCheckRecordList">                        <div>                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;">                                        <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;font-size: 10px; font-family: 宋体;" ng-if="oral.fdiToothCodes.length>0 && !allowToothFDI">                                            <ares-emr-tooth-selector selected-tooth-codes="oral.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                        </td>                                        <td style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;font-size: 10px;" ng-if="oral.fdiToothCodes.length>0 && allowToothFDI">                                            <span ng-bind-html="oral.fdiToothCodes|toToothFdiHtml"></span>                                        </td>                                        <td style="width:auto;font-size:smaller;" ng-if="oral.description||(oral.observationName&&IsAloneSaveOralCheckSymptom&&oral.observationName)">                                            <div style="margin-left:10px" ng-if="IsAloneSaveOralCheckSymptom&&oral.observationName">                                                症状：<span ng-bind-html="oral.observationName|replaceHtmlWrap"></span>                                            </div>                                            <div style="margin-left:10px" ng-bind-html="oral.description|replaceHtmlWrap"></div>                                        </td>                                    </tr>                                </tbody>                            </table>                        </div>                    </div>                </div>                <div ng-if="!(item.radiologyCheckRecordList.length==0&& isDisableEMRBlankPrint)">                    <div style="font-size:14px;">                        {{isEmrCustomTemplateEnabled?"X线检查示":"辅助检查"}}:                    </div>                    <div ng-repeat="rad in item.radiologyCheckRecordList">                        <div>                            <table class="table ">                                <tbody>                                    <tr style="vertical-align:top;">                                        <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;font-size: 10px; font-family: 宋体;" ng-if="rad.fdiToothCodes.length>0 && !allowToothFDI">                                            <ares-emr-tooth-selector selected-tooth-codes="rad.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                        </td>                                        <td style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;font-size: 10px;" ng-if="rad.fdiToothCodes.length>0 && allowToothFDI">                                            <span ng-bind-html="rad.fdiToothCodes|toToothFdiHtml"></span>                                        </td>                                        <td style="width:auto;font-size:smaller;margin-left:10px;" ng-if="rad.description"><div style="margin-left:10px" ng-bind-html="rad.description"></div></td>                                    </tr>                                </tbody>                            </table>                        </div>                    </div>                </div>                <div ng-if="!(item.associatedImageList.length === 0 && isDisableEMRBlankPrint)">                    <div style="font-size: 14px;">相关影像:</div>                    <div>                        <table class="table">                            <tbody>                                <tr style="vertical-align: top;">                                    <td>                                        <emr-medical-image-display-view current-value="item.associatedImageList" is-print="true"></emr-medical-image-display-view>                                    </td>                                </tr>                            </tbody>                        </table>                    </div>                </div>                <div ng-if="!(item.diagnoseRecordList.length==0&& isDisableEMRBlankPrint)">                    <div style="font-size:14px;">                        诊断:                    </div>                    <div ng-repeat="diag in item.diagnoseRecordList">                        <div>                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;">                                        <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;font-size: 10px; font-family: 宋体;" ng-if="diag.fdiToothCodes.length>0 && !allowToothFDI">                                            <ares-emr-tooth-selector selected-tooth-codes="diag.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                        </td>                                        <td style="width:130px;padding-top:auto;padding-bottom:30px;font-size: 10px;" ng-if="diag.fdiToothCodes.length>0 && allowToothFDI">                                            <span ng-bind-html="diag.fdiToothCodes|toToothFdiHtml"></span>                                        </td>                                        <td style="width:auto;font-size:smaller;margin-left:10px" ng-if="diag.diagnose"><div style="margin-left:10px" ng-bind-html="diag.diagnose"></div></td>                                    </tr>                                </tbody>                            </table>                        </div>                    </div>                </div>                <div ng-if="isDiseaseCertificateEnabled &&!(item.treatmentAdviceList.length==0&& isDisableEMRBlankPrint)">                    <div style="font-size:14px;">                        治疗建议:                    </div>                    <div ng-repeat="tr in item.treatmentAdviceList">                        <div>                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;">                                        <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;font-size: 10px; font-family: 宋体;" ng-if="tr.fdiToothCodes.length>0 && !allowToothFDI">                                            <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                        </td>                                        <td style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;font-size: 10px;" ng-if="tr.fdiToothCodes.length>0 && allowToothFDI">                                            <span ng-bind-html="tr.fdiToothCodes|toToothFdiHtml"></span>                                        </td>                                        <td style="width:auto;font-size:smaller;margin-left:10px" ng-if="tr.content"><div style="margin-left:10px" ng-bind-html="tr.content"></div></td>                                    </tr>                                </tbody>                            </table>                        </div>                    </div>                </div>                <div ng-if="!(item.treatmentPlanList.length==0&& isDisableEMRBlankPrint)">                    <div style="font-size:14px;">                        治疗方案:                    </div>                    <div ng-repeat="tr in item.treatmentPlanList">                        <div>                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;">                                        <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;font-size: 10px; font-family: 宋体;" ng-if="tr.fdiToothCodes.length>0 && !allowToothFDI">                                            <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                        </td>                                        <td style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;font-size: 10px;" ng-if="tr.fdiToothCodes.length>0 && allowToothFDI">                                            <span ng-bind-html="tr.fdiToothCodes|toToothFdiHtml"></span>                                        </td>                                        <td style="width:auto;font-size:smaller;margin-left:10px" ng-if="tr.planContent"><div style="margin-left:10px" ng-bind-html="tr.planContent"></div></td>                                    </tr>                                </tbody>                            </table>                        </div>                    </div>                </div>                <div ng-if="!(item.cureRecordList.length==0&& isDisableEMRBlankPrint)">                    <div style="font-size:14px;">                        {{isEmrCustomTemplateEnabled?"处理":"处置"}}:                    </div>                    <div ng-repeat="cr in item.cureRecordList">                        <div>                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;">                                        <td ng-if="cr.fdiToothCodes.length>0 && !allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;font-size: 10px; font-family: 宋体;">                                            <ares-emr-tooth-selector selected-tooth-codes="cr.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                        </td>                                        <td ng-if="cr.fdiToothCodes.length>0 && allowToothFDI" style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;font-size: 10px;">                                            <span ng-bind-html="cr.fdiToothCodes|toToothFdiHtml"></span>                                        </td>                                        <td style="width:auto;font-size:smaller;" ng-if="cr.cure"><div style="margin-left:10px" ng-bind-html="cr.cure"></div></td>                                    </tr>                                </tbody>                            </table>                        </div>                    </div>                </div>                <div ng-if="!(item.advice.length==0 && isDisableEMRBlankPrint)">                    <div style="font-size:14px;">                        医嘱:                    </div>                    <div ng-bind-html="item.advice" style="font-size:smaller;margin-left:10px">                    </div>                </div>                <div style="border-top:2px solid black;margin-top:2px;" ng-if="!isEmrCustomTemplateEnabled">                    <table style="width:100%;">                        <tr>                            <td style="font-size:12px; font-weight: bolder; width:20%;">科室：{{item.department}}</td>                            <td style="font-size:12px; font-weight: bolder; width:20%;" align="right" ng-if="item.instructorName">实习医生签名:</td>                            <td style="border-bottom:1px solid black; margin-left:-5px;width:100px;" align="left" ng-if="item.instructorName"></td>                            <td style="font-size:12px; font-weight: bolder; width:20%;" align="right" ng-if="item.instructorName">医生签名:</td>                            <td style="border-bottom:1px solid black; margin-left:-5px;width:100px;" align="left" ng-if="item.instructorName"></td>                            <td style="font-size:12px; font-weight: bolder; width:20%;" align="right" ng-if="!item.instructorName">医生签名:</td>                            <td style="border-bottom:1px solid black; margin-left:-5px;width:100px;" align="left" ng-if="!item.instructorName"></td>                            <td style="font-size:12px; font-weight: bolder;" align="center">日期：{{date | date:\'yyyy-MM-dd HH:mm\'}}</td>                        </tr>                    </table>                </div>                <div ng-if="isEmrCustomTemplateEnabled" class="emrCustomTemplate" style="border-top:2px solid black;margin-top:2px;">                    <table style="width:100%;">                        <tr>                            <td>                                <table style="width:100%;">                                    <tr>                                        <td style="font-size:12px; font-weight: bolder;text-align:left">                                            医生签字：                                        </td>                                        <td style="font-size:12px; font-weight: bolder;text-align:right">                                            &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp年&nbsp&nbsp&nbsp&nbsp月&nbsp&nbsp&nbsp&nbsp日&nbsp&nbsp&nbsp&nbsp时&nbsp&nbsp&nbsp&nbsp分                                        </td>                                    </tr>                                </table>                            </td>                        </tr>                    </table>                </div>            </div>        </div>        <div ng-if="printTemplateConfig.templateCode ==\'A4EMRTemplate1\' && isEmrCustomTemplateEnabled" id="A4EMRTemplate1" name="A4EMRTemplate1" style="width: 100%;" ng-style="{\'page-break-after\':isMedicalRecordPaginationPrintEnabled?\'always\':\'avoid\'}">            <style>                .maintable table td {                    padding: 5px;                }            </style>            <table style="width: 100%;">                <tr>                    <td>                        <img src="/content/documentimgs/yaboshi_logo1.png" style="width:180px; margin-left:75px" />                    </td>                </tr>                <tr>                    <td style="height: 50px; line-height: 50px; background-color: #eeefef">                        <img src="/content/documentimgs/yaboshi_logo2.png" style="width:120px; float:right;margin-top:-10px;" />                        <label style="font-weight: 900; font-size: 22px; margin-left: 85px; font-family: 宋体;">就诊病历</label>                    </td>                </tr>                <tr>                    <td>                        <table class="maintable" style="margin-left: 75px; margin-right: 5px; min-width: 90%;">                            <tr>                                <td>                                    <table style="width: 100%; font-size: 10px; font-family: 宋体;">                                        <tr>                                            <td style="width:30%">                                                姓名：<span>{{patient.name}}</span>                                            </td>                                            <td style="width:30%">                                                性别：<span>{{patient.sex|toSexString}}</span>                                            </td>                                            <td style="width:30%">                                                出生年月日：<span>{{patient.birth|toDateString}}</span>                                            </td>                                        </tr>                                        <tr style="">                                            <td style="width:30%">                                                身份证号：<span>{{patient.identityCard}}</span>                                            </td>                                            <td style="width:30%">                                                病历号：<span>{{patient.privateId}}</span>                                            </td>                                            <td>                                                就诊日期：<span>{{item.appointDateTime|toLongDateMMString}}</span>                                            </td>                                        </tr>                                    </table>                                </td>                            </tr>                            <tr>                                <td>                                    <hr style="border:1px dashed #000" />                                </td>                            </tr>                            <tr>                                <td>                                    <table style="width: 100%; font-size: 10px; font-family: 宋体;">                                        <tr ng-if="!(item.chiefComplaint.length==0 && isDisableEMRBlankPrint)">                                            <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">{{item.firstVisit?"主诉:":"复诊:"}}</td>                                            <td ng-bind-html="item.chiefComplaint"></td>                                        </tr>                                        <tr ng-if="!(item.history.length==0 && isDisableEMRBlankPrint)">                                            <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">现病史:</td>                                            <td ng-bind-html="item.history"></td>                                        </tr>                                        <tr ng-if="!(item.pastHistory.length==0 && isDisableEMRBlankPrint)">                                            <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">既往史:</td>                                            <td ng-bind-html="item.pastHistory"></td>                                        </tr>                                        <tr ng-if="!(item.oralCheckRecordList.length==0&& isDisableEMRBlankPrint)">                                            <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">{{isEmrCustomTemplateEnabled?"检查":"口腔检查"}}:</td>                                            <td>                                                <table style="font-size: 10px; font-family: 宋体;">                                                    <tbody>                                                        <tr style="vertical-align:top;" ng-repeat="oral in item.oralCheckRecordList">                                                            <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;">                                                                <ares-emr-tooth-selector selected-tooth-codes="oral.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                                            </td>                                                            <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;">                                                                <span ng-bind-html="oral.fdiToothCodes|toToothFdiHtml"></span>                                                            </td>                                                            <td style="width:auto;">                                                                <div style="margin-left:10px" ng-if="IsAloneSaveOralCheckSymptom&&oral.observationName">                                                                    症状：<span ng-bind-html="oral.observationName"></span>                                                                </div>                                                                <div style="margin-left:10px" ng-bind-html="oral.description"></div>                                                            </td>                                                        </tr>                                                    </tbody>                                                </table>                                            </td>                                        </tr>                                        <tr ng-if="!(item.radiologyCheckRecordList.length==0&& isDisableEMRBlankPrint)">                                            <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">{{isEmrCustomTemplateEnabled?"X线检查示":"辅助检查"}}:</td>                                            <td>                                                <table style="font-size: 10px; font-family: 宋体;">                                                    <tbody>                                                        <tr style="vertical-align:top;" ng-repeat="rad in item.radiologyCheckRecordList">                                                            <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;">                                                                <ares-emr-tooth-selector selected-tooth-codes="rad.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                                            </td>                                                            <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;">                                                                <span ng-bind-html="rad.fdiToothCodes|toToothFdiHtml"></span>                                                            </td>                                                            <td style="width:auto;" ng-bind-html="rad.description"></td>                                                        </tr>                                                    </tbody>                                                </table>                                            </td>                                        </tr>                                        <tr ng-if="!(item.associatedImageList.length === 0 && isDisableEMRBlankPrint)">                                            <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">相关影像:</td>                                            <td>                                                <table style="font-size: 10px; font-family: 宋体;">                                                    <tbody>                                                        <tr style="vertical-align:top;">                                                            <td>                                                                <emr-medical-image-display-view current-value="item.associatedImageList" is-print="true"></emr-medical-image-display-view>                                                            </td>                                                        </tr>                                                    </tbody>                                                </table>                                            </td>                                        </tr>                                        <tr ng-if="!(item.diagnoseRecordList.length==0&& isDisableEMRBlankPrint)">                                            <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">诊断:</td>                                            <td>                                                <table style="font-size: 10px; font-family: 宋体;">                                                    <tbody>                                                        <tr style="vertical-align:top;" ng-repeat="diag in item.diagnoseRecordList">                                                            <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;">                                                                <ares-emr-tooth-selector selected-tooth-codes="diag.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                                            </td>                                                            <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;">                                                                <span ng-bind-html="diag.fdiToothCodes|toToothFdiHtml"></span>                                                            </td>                                                            <td style="width:auto;" ng-bind-html="diag.diagnose"></td>                                                        </tr>                                                    </tbody>                                                </table>                                            </td>                                        </tr>                                        <tr ng-if="isDiseaseCertificateEnabled&&!(item.treatmentAdviceList.length==0&& isDisableEMRBlankPrint)">                                            <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">治疗建议:</td>                                            <td>                                                <table style="font-size: 10px; font-family: 宋体;">                                                    <tbody>                                                        <tr style="vertical-align:top;" ng-repeat="tr in item.treatmentAdviceList">                                                            <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;">                                                                <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                                            </td>                                                            <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;">                                                                <span ng-bind-html="tr.fdiToothCodes|toToothFdiHtml"></span>                                                            </td>                                                            <td style="width:auto;" ng-bind-html="tr.content"></td>                                                        </tr>                                                    </tbody>                                                </table>                                            </td>                                        </tr>                                        <tr ng-if="!(item.treatmentPlanList.length==0&& isDisableEMRBlankPrint)">                                            <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">治疗方案:</td>                                            <td>                                                <table style="font-size: 10px; font-family: 宋体;">                                                    <tbody>                                                        <tr style="vertical-align:top;" ng-repeat="tr in item.treatmentPlanList">                                                            <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;">                                                                <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                                            </td>                                                            <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;">                                                                <span ng-bind-html="tr.fdiToothCodes|toToothFdiHtml"></span>                                                            </td>                                                            <td style="width:auto;" ng-bind-html="tr.planContent"></td>                                                        </tr>                                                    </tbody>                                                </table>                                            </td>                                        </tr>                                        <tr ng-if="!(item.cureRecordList.length==0&& isDisableEMRBlankPrint)">                                            <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">{{isEmrCustomTemplateEnabled?"处理":"处置"}}:</td>                                            <td>                                                <table style="font-size: 10px; font-family: 宋体;">                                                    <tbody>                                                        <tr style="vertical-align:top;" ng-repeat="cr in item.cureRecordList">                                                            <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;">                                                                <ares-emr-tooth-selector selected-tooth-codes="cr.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                                            </td>                                                            <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;">                                                                <span ng-bind-html="cr.fdiToothCodes|toToothFdiHtml"></span>                                                            </td>                                                            <td style="width:auto;" ng-bind-html="cr.cure"></td>                                                        </tr>                                                    </tbody>                                                </table>                                            </td>                                        </tr>                                        <tr ng-if="!(item.advice.length==0 && isDisableEMRBlankPrint)">                                            <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">医嘱:</td>                                            <td ng-bind-html="item.advice"></td>                                        </tr>                                        <tr ng-if="!(item.comment.length==0 && isDisableEMRBlankPrint)">                                            <td style=" width: 70px; font-weight: 900 !important; vertical-align: top;">备注:</td>                                            <td ng-bind-html="item.comment"></td>                                        </tr>                                    </table>                                </td>                            </tr>                            <tr>                                <td>                                    <hr style="border:1px dashed #000" />                                </td>                            </tr>                            <tr>                                <td>                                    <table style="width: 100%;font-size: 10px; font-family: 宋体;">                                        <tr>                                            <td style="text-align:left" colspan="2">                                                医生签字：                                            </td>                                            <td style="text-align:right">                                                &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp年&nbsp&nbsp&nbsp&nbsp月&nbsp&nbsp&nbsp&nbsp日&nbsp&nbsp&nbsp&nbsp时&nbsp&nbsp&nbsp&nbsp分                                            </td>                                        </tr>                                    </table>                                </td>                            </tr>                        </table>                    </td>                </tr>            </table>        </div>        <div ng-if="printTemplateConfig.templateCode ==\'A5EMRTemplate1\' &&  isEmrCustomTemplateEnabled" id="A5EMRTemplate1" name="A5EMRTemplate1" style="width: 100%;" ng-style="{\'page-break-after\':isMedicalRecordPaginationPrintEnabled?\'always\':\'avoid\'}">            <style scoped>                .titleFont {                    font-size: 10px;                    font-family: SimHei;                }                .boldFont {                    font-weight: bolder;                    font-family: SimHei;                }            </style>            <div style="margin: 0px auto" ng-style="{\'width\':isEmrCustomTemplateEnabled?\'90%\':\'auto\'}">                <style scoped>                    .titleFont {                        font-size: 10px;                        font-family: SimHei;                    }                    .boldFont {                        font-weight: bolder;                        font-family: SimHei;                    }                </style>                <p align="center" style="text-align:center">                    <b>                        <span style="font-size:16.0pt;font-family:宋体;">就诊病历</span>                    </b>                </p>                <div style="width: 100%;margin-top:10px;border-bottom:1px solid black;" class="emrCustomTemplate" ng-if="isEmrCustomTemplateEnabled">                    <table style="width:100%;font-size:10px ;">                        <tr>                            <td>                                <table style="width:100%;">                                    <tr>                                        <td style="font-size:10px; width:40%">                                            姓名：{{patient.name}}                                        </td>                                        <td style="font-size:10px; width:25%">                                            性别：{{patient.sex|toSexString}}                                        </td>                                        <td style="font-size:10px; ">                                            出生年月日：{{patient.birth|toDateString}}                                        </td>                                    </tr>                                    <tr>                                        <td style="font-size:10px; width:40%">                                            身份证号：{{patient.identityCard}}                                        </td>                                        <td style="font-size:10px; width:25%">                                            病历号：{{patient.privateId}}                                        </td>                                        <td style="font-size:10px; ">                                            就诊日期：{{item.appointDateTime|toDateString}}                                        </td>                                    </tr>                                </table>                            </td>                        </tr>                    </table>                </div>                <div style="width: 100%" ng-if="!isEmrCustomTemplateEnabled">                    <table style="width:100%;">                        <tr>                            <td style="font-size:10px; width:20%;">编号:{{patient.privateId}}</td>                            <td style="font-size:10px; width:20%;">姓名:{{patient.name}}</td>                            <td style="font-size:10px; width:10%;">性别:{{patient.sex|toSexString}}</td>                            <td style="font-size:10px; width:10%;">年龄:{{patient.age}}</td>                        </tr>                    </table>                </div>                <div ng-if="!(item.chiefComplaint.length==0 && isDisableEMRBlankPrint)">                    <div style="border-top:2px solid black;font-size:10px;">                        {{item.firstVisit?"主诉:":"复诊:"}}                    </div>                    <div ng-bind-html="item.chiefComplaint" style="font-size:smaller;margin-left:10px">                    </div>                </div>                <div ng-if="!(item.history.length==0 && isDisableEMRBlankPrint)">                    <div style="font-size:10px;">                        现病史:                    </div>                    <div ng-bind-html="item.history" style="font-size:smaller;margin-left:10px"> </div>                </div>                <div ng-if="!(item.pastHistory.length==0 && isDisableEMRBlankPrint)">                    <div style="font-size:10px;">                        既往史:                    </div>                    <div ng-bind-html="item.pastHistory" style="font-size:smaller;margin-left:10px"> </div>                </div>                <div ng-if="!(item.oralCheckRecordList.length==0&& isDisableEMRBlankPrint)">                    <div style="font-size:10px;">                        <b>{{isEmrCustomTemplateEnabled?"检查":"口腔检查"}}:</b>                    </div>                    <div ng-repeat="oral in item.oralCheckRecordList">                        <div>                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;">                                        <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;" ng-if="oral.fdiToothCodes.length>0 && !allowToothFDI">                                            <ares-emr-tooth-selector selected-tooth-codes="oral.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                        </td>                                        <td style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;" ng-if="oral.fdiToothCodes.length>0 && allowToothFDI">                                            <span ng-bind-html="oral.fdiToothCodes|toToothFdiHtml"></span>                                        </td>                                        <td style="width:auto;font-size:smaller;" ng-if="oral.description||(oral.observationName&&IsAloneSaveOralCheckSymptom&&oral.observationName)">                                            <div style="margin-left:10px" ng-if="IsAloneSaveOralCheckSymptom&&oral.observationName">                                                症状：<span ng-bind-html="oral.observationName|replaceHtmlWrap"></span>                                            </div>                                            <div style="margin-left:10px" ng-bind-html="oral.description|replaceHtmlWrap"></div>                                        </td>                                    </tr>                                </tbody>                            </table>                        </div>                    </div>                </div>                <div ng-if="!(item.radiologyCheckRecordList.length==0&& isDisableEMRBlankPrint)">                    <div style="font-size:10px;">                        {{isEmrCustomTemplateEnabled?"X线检查示":"辅助检查"}}:                    </div>                    <div ng-repeat="rad in item.radiologyCheckRecordList">                        <div>                            <table class="table ">                                <tbody>                                    <tr style="vertical-align:top;">                                        <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;" ng-if="rad.fdiToothCodes.length>0 && !allowToothFDI">                                            <ares-emr-tooth-selector selected-tooth-codes="rad.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                        </td>                                        <td style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;" ng-if="rad.fdiToothCodes.length>0 && allowToothFDI">                                            <span ng-bind-html="rad.fdiToothCodes|toToothFdiHtml"></span>                                        </td>                                        <td style="width:auto;font-size:smaller;margin-left:10px;" ng-if="rad.description"><div style="margin-left:10px" ng-bind-html="rad.description"></div></td>                                    </tr>                                </tbody>                            </table>                        </div>                    </div>                </div>                <div ng-if="!(item.associatedImageList.length ===0 && isDisableEMRBlankPrint)">                    <div style="font-size:10px;">相关影像:</div>                    <div>                        <table class="table ">                            <tbody>                                <tr style="vertical-align:top;">                                    <td>                                        <emr-medical-image-display-view current-value="item.associatedImageList" is-print="true"></emr-medical-image-display-view>                                    </td>                                </tr>                            </tbody>                        </table>                    </div>                </div>                <div ng-if="!(item.diagnoseRecordList.length==0&& isDisableEMRBlankPrint)">                    <div style="font-size:10px;">                        诊断:                    </div>                    <div ng-repeat="diag in item.diagnoseRecordList">                        <div>                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;">                                        <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;" ng-if="diag.fdiToothCodes.length>0 && !allowToothFDI">                                            <ares-emr-tooth-selector selected-tooth-codes="diag.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                        </td>                                        <td style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;" ng-if="diag.fdiToothCodes.length>0 && allowToothFDI">                                            <span ng-bind-html="diag.fdiToothCodes|toToothFdiHtml"></span>                                        </td>                                        <td style="width:auto;font-size:smaller;margin-left:10px" ng-if="diag.diagnose"><div style="margin-left:10px" ng-bind-html="diag.diagnose"></div></td>                                    </tr>                                </tbody>                            </table>                        </div>                    </div>                </div>                <div ng-if="isDiseaseCertificateEnabled&&!(item.treatmentAdviceList.length==0&& isDisableEMRBlankPrint)">                    <div style="font-size:10px;">                        治疗建议:                    </div>                    <div ng-repeat="tr in item.treatmentAdviceList">                        <div>                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;">                                        <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;" ng-if="tr.fdiToothCodes.length>0 && !allowToothFDI">                                            <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                        </td>                                        <td style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;" ng-if="tr.fdiToothCodes.length>0 && allowToothFDI">                                            <span ng-bind-html="tr.fdiToothCodes|toToothFdiHtml"></span>                                        </td>                                        <td style="width:auto;font-size:smaller;margin-left:10px" ng-if="tr.content"><div style="margin-left:10px" ng-bind-html="tr.content"></div></td>                                    </tr>                                </tbody>                            </table>                        </div>                    </div>                </div>                <div ng-if="!(item.treatmentPlanList.length==0&& isDisableEMRBlankPrint)">                    <div style="font-size:10px;">                        治疗方案:                    </div>                    <div ng-repeat="tr in item.treatmentPlanList">                        <div>                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;">                                        <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;" ng-if="tr.fdiToothCodes.length>0 && !allowToothFDI">                                            <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                        </td>                                        <td style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;" ng-if="tr.fdiToothCodes.length>0 && allowToothFDI">                                            <span ng-bind-html="tr.fdiToothCodes|toToothFdiHtml"></span>                                        </td>                                        <td style="width:auto;font-size:smaller;margin-left:10px" ng-if="tr.planContent"><div style="margin-left:10px" ng-bind-html="tr.planContent"></div></td>                                    </tr>                                </tbody>                            </table>                        </div>                    </div>                </div>                <div ng-if="!(item.cureRecordList.length==0&& isDisableEMRBlankPrint)">                    <div style="font-size:10px;">                        {{isEmrCustomTemplateEnabled?"处理":"处置"}}:                    </div>                    <div ng-repeat="cr in item.cureRecordList">                        <div>                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;">                                        <td ng-if="cr.fdiToothCodes.length>0 && !allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;">                                            <ares-emr-tooth-selector selected-tooth-codes="cr.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                        </td>                                        <td ng-if="cr.fdiToothCodes.length>0 && allowToothFDI" style="word-break:break-all;word-wrap:break-word;vertical-align:top;width:130px;padding-top:auto;padding-bottom:30px;">                                            <span ng-bind-html="cr.fdiToothCodes|toToothFdiHtml"></span>                                        </td>                                        <td style="width:auto;font-size:smaller;" ng-if="cr.cure"><div style="margin-left:10px" ng-bind-html="cr.cure"></div></td>                                    </tr>                                </tbody>                            </table>                        </div>                    </div>                </div>                <div ng-if="!(item.advice.length==0 && isDisableEMRBlankPrint)">                    <div style="font-size:10px;">                        医嘱:                    </div>                    <div ng-bind-html="item.advice" style="font-size:smaller;margin-left:10px">                    </div>                </div>                <div style="border-top:2px solid black;margin-top:2px;" ng-if="!isEmrCustomTemplateEnabled">                    <table style="width:100%;">                        <tr>                            <td style="font-size:10px; width:20%;">科室：{{item.department}}</td>                            <td style="font-size:10px; width:20%;" align="right">医生签名:</td>                            <td style="border-bottom:1px solid black; margin-left:-5px;width:100px;" align="left"></td>                            <td style="font-size:10px;" align="center">日期：{{date | date:\'yyyy-MM-dd hh:mm\'}}</td>                        </tr>                    </table>                </div>                <div ng-if="isEmrCustomTemplateEnabled" class="emrCustomTemplate" style="border-top:2px solid black;margin-top:2px;">                    <table style="width:100%;">                        <tr>                            <td>                                <table style="width:100%;">                                    <tr>                                        <td style="font-size:10px;text-align:left">                                            医生签字：                                        </td>                                        <td style="font-size:10px;text-align:right">                                            &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp年&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp月&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp日&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp时&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp分                                        </td>                                    </tr>                                </table>                            </td>                        </tr>                    </table>                </div>            </div>        </div>        <div ng-if="printTemplateConfig.templateCode ==\'A5EMRDiseaseProofTemplate1\'" name="A5EMRDiseaseProofTemplate1" style="width: 100%" ng-style="{\'page-break-after\':isMedicalRecordPaginationPrintEnabled?\'always\':\'avoid\'}">            <div style="margin: 0px auto;">                <h2 style="text-align:center;padding:0;">{{office.name}}</h2>                <h1 style="text-align:center;padding:0;">诊断证明书</h1>                <div style="width: 100%;margin-top:10px;margin-bottom: 10px;border-bottom:1px solid black;border-top:1px solid black;" class="emrCustomTemplate">                    <table style="width:100%;font-size:15px ;">                        <tr>                            <td>                                <table style="width:100%;">                                    <tr>                                        <td style="font-size:15px ; width:40%">                                            姓名：{{patient.name}}                                        </td>                                        <td style="font-size:15px ; width:25%">                                            性别：{{patient.sex|toSexString}}                                        </td>                                        <td style="font-size:15px ; ">                                            年龄：{{patient.age}}                                        </td>                                        <td style="font-size:15px ; ">                                            病历号：{{patient.privateId}}                                        </td>                                    </tr>                                </table>                            </td>                        </tr>                    </table>                </div>                <div style="border-bottom:1px solid black;">                    <table style="width:100%;">                        <tr ng-if="!(item.diagnoseRecordList.length==0&& isDisableEMRBlankPrint)">                            <td style="font-size:15px ; width:120px;vertical-align:top;">诊断:</td>                            <td style="">                                <table>                                    <tbody>                                        <tr style="vertical-align:top;" ng-repeat="diag2 in item.diagnoseRecordList">                                            <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;border-top: 0px;font-size: 10px; font-family: 宋体;">                                                <div ng-if="diag2.fdiToothCodes.length > 0">                                                    <ares-emr-tooth-selector selected-tooth-codes="diag2.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                                </div>                                            </td>                                            <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;border-top: 0px;font-size: 10px;">                                                <div ng-if="diag2.fdiToothCodes.length > 0">                                                    <span ng-bind-html="diag2.fdiToothCodes|toToothFdiHtml"></span>                                                </div>                                            </td>                                            <td style="border-top: 0px;width:auto;font-size:14px;vertical-align:top;padding-bottom: 5px;" ng-bind-html="diag2.diagnose"></td>                                        </tr>                                    </tbody>                                </table>                            </td>                        </tr>                        <tr ng-if="!(item.treatmentAdviceList.length==0&& isDisableEMRBlankPrint)">                            <td style="font-size:15px ; width:120px;vertical-align:top;">治疗建议:</td>                            <td style="">                                <table>                                    <tbody>                                        <tr style="vertical-align:top;" ng-repeat="tr in item.treatmentAdviceList">                                            <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="border-top: 0px;width:130px;padding-bottom:30px;font-size: 10px; font-family: 宋体;">                                                <div ng-if="tr.fdiToothCodes.length > 0">                                                    <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                                </div>                                            </td>                                            <td ng-if="allowToothFDI" style="border-top: 0px;word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;font-size: 10px;">                                                <div ng-if="tr.fdiToothCodes.length > 0">                                                    <span ng-bind-html="tr.fdiToothCodes|toToothFdiHtml"></span>                                                </div>                                            </td>                                            <td style="border-top: 0px;width:auto;font-size:14px;vertical-align:top;padding-bottom: 5px;" ng-bind-html="tr.content"></td>                                        </tr>                                    </tbody>                                </table>                            </td>                        </tr>                    </table>                </div>                <div class="emrCustomTemplate">                    <table style="width:100%;                ">                        <tbody>                            <tr>                                <td style="text-align:left;font-size: 14px; ">                                    <span style="display: block;">注：1、 未盖门诊医务科专用章无效；</span>                                    <span style="padding-left: 28px;display: block;">2、 涂改无效；</span>                                    <span style="padding-left:28px;display: block;">3、 只做疾病证明,不做他用。</span>                                </td>                            </tr>                        </tbody>                    </table>                </div>                <div class="emrCustomTemplate" style="border-top:1px solid black;">                    <table style="width:100%;">                        <tr>                            <td>                                <table style="width:100%;">                                    <tr>                                        <td style="font-size:15px; width:20%;">科室：{{item.department}}</td>                                        <td style="font-size:15px ;text-align:center">                                            医生：{{item.doctorName}}                                        </td>                                        <td style="font-size:15px ;text-align:right;width:20%;">                                            日期：{{date | date:\'yyyy-MM-dd\'}}                                        </td>                                    </tr>                                </table>                            </td>                        </tr>                    </table>                </div>            </div>        </div>        <div ng-if="printTemplateConfig.templateCode ==\'SaisiEMRTemplate\'" id="SaisiEMRTemplate" name="SaisiEMRTemplate" style="width: 90%;" ng-style="{\'page-break-after\':isMedicalRecordPaginationPrintEnabled?\'always\':\'avoid\'}">            <div style="width: 78%;padding : 0;">                <!--<h1 style="text-align:center;font-weight:bolder;padding:0;">{{office.name}}就诊病历</h1>-->                <div style="margin-top:10px;">                    <table style="width:100%;">                        <tr>                            <td style="font-size:15px ;font-weight:400;font-family: 宋体; width:30%;">患者姓名：{{patient.name}}</td>                            <td style="font-size:15px ;font-weight:400;font-family: 宋体; width:30%;">病历编号：{{patient.privateId}}</td>                            <td style="font-size:15px ;font-weight:400;font-family: 宋体; width:30%;">{{item.appointDateTime|toDateString}}</td>                        </tr>                    </table>                </div>                <!--<div style="margin-top:10px;border-bottom:1px solid black;">                    <table style="width:100%;">                        <tr>                            <td style="font-size:15px ;font-weight:900;">就诊日期：</td>                            <td style="font-size:15px ;font-weight:900;">医生：{{item.doctorName}}</td>                        </tr>                    </table>                </div>-->                <div style="margin-top: 30px;">                    <table style="width:100%;">                        <tr ng-if="!(item.chiefComplaint.length==0 && isDisableEMRBlankPrint)" style="margin-top:30px;">                            <td style="font-size:15px ;font-weight:400;font-family: 宋体; width:120px; vertical-align: top; padding-top: 8px; ">{{item.firstVisit?"主诉:":"复诊:"}}</td>                            <td style="font-size:15px;font-weight:400;font-family: 宋体;" ng-bind-html="item.chiefComplaint"></td>                        </tr>                        <tr ng-if="item.firstVisit && !(item.history.length==0 && isDisableEMRBlankPrint)" style="margin-top:30px;">                            <td style="font-size:15px ;font-weight:400;font-family: 宋体; width:120px; vertical-align: top; padding-top: 8px; ">现病史:</td>                            <td style="font-size:15px;font-weight:400;font-family: 宋体;" ng-bind-html="item.history"></td>                        </tr>                        <tr ng-if="item.firstVisit && !(item.pastHistory.length==0 && isDisableEMRBlankPrint)" style="margin-top:30px;">                            <td style="font-size:15px ;font-weight:400;font-family: 宋体; width:120px; vertical-align: top; padding-top: 8px; ">既往史:</td>                            <td style="font-size:15px;font-weight:400;font-family: 宋体;" ng-bind-html="item.pastHistory"></td>                        </tr>                        <tr ng-if="!(item.oralCheckRecordList.length==0&& isDisableEMRBlankPrint)" style="margin-top:30px;">                            <td style="font-size: 15px; font-weight: 400; width: 120px; vertical-align: top; padding-top: 8px; font-family: 宋体">{{isEmrCustomTemplateEnabled?"检查":"口腔检查"}}:</td>                            <td style="font-weight:400;font-family: 宋体;">                                <table class=" table ">                                    <tbody>                                        <tr style="vertical-align:top;" ng-repeat="oral in item.oralCheckRecordList">                                            <td style="width: 130px; max-width: 130px; padding-top: 10px; padding-bottom: 30px;vertical-align: middle; " ng-if="oral.fdiToothCodeArray">                                                <span style=" display: block; white-space: pre-wrap; word-wrap: break-word; font-family: 宋体">{{oral.fdiToothCodeArray}}</span>                                            </td>                                            <td style="width:auto;font-size:15px;font-family: 宋体">                                                <div style="margin-left:10px" ng-if="IsAloneSaveOralCheckSymptom&&oral.observationName">                                                    症状：<span ng-bind-html="oral.observationName"></span>                                                </div>                                                <div style="margin-left:10px" ng-bind-html="oral.description"></div>                                            </td>                                        </tr>                                    </tbody>                                </table>                            </td>                        </tr>                        <tr ng-if="!(item.radiologyCheckRecordList.length==0&& isDisableEMRBlankPrint)" style="margin-top:30px;">                            <td style="font-size:15px ;font-weight:400;font-family: 宋体; width:120px; vertical-align: top; padding-top: 8px; ">{{isEmrCustomTemplateEnabled?"X线检查示":"辅助检查"}}:</td>                            <td style="font-weight:400;font-family: 宋体;">                                <table class=" table ">                                    <tbody>                                        <tr style="vertical-align:top;" ng-repeat="rad in item.radiologyCheckRecordList">                                            <td style="width: 130px; max-width: 130px; padding-top: 10px; padding-bottom: 30px;vertical-align: middle; " ng-if="rad.fdiToothCodeArray">                                                <span style=" display: block; white-space: pre-wrap; word-wrap: break-word; font-family: 宋体">{{rad.fdiToothCodeArray}}</span>                                            </td>                                            <td style="width:auto;font-size:15px;font-family: 宋体" ng-bind-html="rad.description"></td>                                        </tr>                                    </tbody>                                </table>                            </td>                        </tr>                        <tr ng-if="!(item.associatedImageList.length ===0 && isDisableEMRBlankPrint)" style="margin-top:30px;">                            <td style="font-size:15px ;font-weight:400;font-family: 宋体; width:120px; vertical-align: top; padding-top: 8px; ">相关影像:</td>                            <td style="font-weight:400;font-family: 宋体;">                                <table class=" table ">                                    <tbody>                                        <tr style="vertical-align:top;">                                            <td>                                                <emr-medical-image-display-view current-value="item.associatedImageList" is-print="true"></emr-medical-image-display-view>                                            </td>                                        </tr>                                    </tbody>                                </table>                            </td>                        </tr>                        <tr ng-if="!(item.diagnoseRecordList.length==0&& isDisableEMRBlankPrint)" style="margin-top:30px;">                            <td style="font-size:15px ;font-weight:400;font-family: 宋体; width:120px; vertical-align: top; padding-top: 8px; ">诊断:</td>                            <td style="font-weight:400;font-family: 宋体;">                                <table class=" table ">                                    <tbody>                                        <tr style="vertical-align:top;" ng-repeat="diag in item.diagnoseRecordList">                                            <td style="width: 130px; max-width: 130px; padding-top: 10px; padding-bottom: 30px;vertical-align: middle; " ng-if="diag.fdiToothCodeArray">                                                <span style=" display: block; white-space: pre-wrap; word-wrap: break-word;font-family: 宋体 ">{{diag.fdiToothCodeArray}}</span>                                            </td>                                            <td style="width:auto;font-size:15px;font-family: 宋体" ng-bind-html="diag.diagnose"></td>                                        </tr>                                    </tbody>                                </table>                            </td>                        </tr>                        <tr ng-if="isDiseaseCertificateEnabled&&!(item.treatmentAdviceList.length==0&& isDisableEMRBlankPrint)" style="margin-top:30px;">                            <td style="font-size:15px ;font-weight:400;font-family: 宋体; width:120px; vertical-align: top; padding-top: 8px; ">治疗建议:</td>                            <td style="font-weight:400;font-family: 宋体;">                                <table class=" table ">                                    <tbody>                                        <tr style="vertical-align:top;" ng-repeat="tr in item.treatmentAdviceList">                                            <td style="width: 130px; max-width: 130px; padding-top: 10px; padding-bottom: 30px;vertical-align: middle; " ng-if="tr.fdiToothCodeArray">                                                <span style=" display: block; white-space: pre-wrap; word-wrap: break-word; font-family: 宋体">{{tr.fdiToothCodeArray}}</span>                                            </td>                                            <td style="width:auto;font-size:15px;font-family: 宋体" ng-bind-html="tr.content"></td>                                        </tr>                                    </tbody>                                </table>                            </td>                        </tr>                        <tr ng-if="!(item.treatmentPlanList.length==0&& isDisableEMRBlankPrint)" style="margin-top:30px;">                            <td style="font-size:15px ;font-weight:400;font-family: 宋体; width:120px; vertical-align: top; padding-top: 8px; ">治疗方案:</td>                            <td style="font-weight:400;font-family: 宋体;">                                <table class=" table ">                                    <tbody>                                        <tr style="vertical-align:top;" ng-repeat="tr in item.treatmentPlanList">                                            <td style="width: 130px; max-width: 130px; padding-top: 10px; padding-bottom: 30px;vertical-align: middle; " ng-if="tr.fdiToothCodeArray">                                                <span style=" display: block; white-space: pre-wrap; word-wrap: break-word;font-family: 宋体 ">{{tr.fdiToothCodeArray}}</span>                                            </td>                                            <td style="width:auto;font-size:15px;font-family: 宋体" ng-bind-html="tr.planContent"></td>                                        </tr>                                    </tbody>                                </table>                            </td>                        </tr>                        <tr ng-if="!(item.cureRecordList.length==0&& isDisableEMRBlankPrint)" style="margin-top:300px;">                            <td style="font-size:15px ;font-weight:400;font-family: 宋体; width:120px; vertical-align: top; padding-top: 8px; ">{{isEmrCustomTemplateEnabled?"处理":"处置"}}:</td>                            <td style="font-weight:400;font-family: 宋体;">                                <table class=" table ">                                    <tbody>                                        <tr style="vertical-align:top;" ng-repeat="cr in item.cureRecordList">                                            <td style="width: 130px; max-width: 130px; padding-top: 10px; padding-bottom: 30px;vertical-align: middle; " ng-if="cr.fdiToothCodeArray">                                                <span style=" display: block; white-space: pre-wrap; word-wrap: break-word; font-family: 宋体">{{cr.fdiToothCodeArray}}</span>                                            </td>                                            <td style="width:auto;font-size:15px;font-family: 宋体" ng-bind-html="cr.cure"></td>                                        </tr>                                    </tbody>                                </table>                            </td>                        </tr>                        <tr ng-if="!(item.advice.length==0 && isDisableEMRBlankPrint)">                            <td style="font-size:15px;font-weight:400;font-family: 宋体; width:120px; vertical-align: top; padding-top: 8px; ">医嘱:</td>                            <td style="font-weight:400;font-family: 宋体;font-size:15px;" ng-bind-html="item.advice"></td>                        </tr>                    </table>                    <table style="width:100%;margin-top:50px;">                        <tr>                            <td style="width: 50%;font-family: 宋体">医生签名：</td>                            <td style="width:50%;font-family: 宋体">患者签名：</td>                        </tr>                    </table>                </div>            </div>        </div>        <div ng-if="privateTemplate" id="{{privateTemplate.templateCode}}" ng-style="{\'page-break-after\':isMedicalRecordPaginationPrintEnabled?\'always\':\'avoid\'}">            <emr-print-compile html-content="{{item.printTemplate}}"></emr-print-compile>        </div>        <div class="emrPrintTemplateRenderFinishedFlag" style="display:none" ng-if="item.hasDetailData"></div>    </div>    <div id="#A5EMRDiseaseProofTemplate1" name="A5EMRDiseaseProofTemplate1" style="width: 100%;display:none">        <div style="margin: 0px auto;">            <h2 style="text-align:center;padding:0;">{{office.name}}</h2>            <h1 style="text-align:center;padding:0;">诊断证明书</h1>            <div style="width: 100%;margin-top:10px;margin-bottom: 10px;border-bottom:1px solid black;border-top:1px solid black;" class="emrCustomTemplate">                <table style="width:100%;font-size:15px ;">                    <tr>                        <td>                            <table style="width:100%;">                                <tr>                                    <td style="font-size:15px ; width:40%">                                        姓名：{{patient.name}}                                    </td>                                    <td style="font-size:15px ; width:25%">                                        性别：{{patient.sex|toSexString}}                                    </td>                                    <td style="font-size:15px ; ">                                        年龄：{{patient.age}}                                    </td>                                    <td style="font-size:15px ; ">                                        病历号：{{patient.privateId}}                                    </td>                                </tr>                            </table>                        </td>                    </tr>                </table>            </div>            <div style="border-bottom:1px solid black;">                <table style="width:100%;">                    <tr ng-if="!(diseaseProofMedicalRecord.diagnoseRecordList.length==0&& isDisableEMRBlankPrint)">                        <td style="font-size:15px ; width:120px;vertical-align:top;">诊断:</td>                        <td style="">                            <table>                                <tbody>                                    <tr style="vertical-align:top;" ng-repeat="diag2 in diseaseProofMedicalRecord.diagnoseRecordList">                                        <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;border-top: 0px;font-size: 10px; font-family: 宋体;">                                            <div ng-if="diag2.fdiToothCodes.length > 0">                                                <ares-emr-tooth-selector selected-tooth-codes="diag2.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                            </div>                                        </td>                                        <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;border-top: 0px;font-size: 10px;">                                            <div ng-if="diag2.fdiToothCodes.length > 0">                                                <span ng-bind-html="diag2.fdiToothCodes|toToothFdiHtml"></span>                                            </div>                                        </td>                                        <td style="border-top: 0px;width:auto;font-size:14px;vertical-align:top;padding-bottom: 5px;" ng-bind-html="diag2.diagnose"></td>                                    </tr>                                </tbody>                            </table>                        </td>                    </tr>                    <tr ng-if="!(diseaseProofMedicalRecord.treatmentAdviceList.length==0&& isDisableEMRBlankPrint)">                        <td style="font-size:15px ; width:120px;vertical-align:top;">治疗建议:</td>                        <td style="">                            <table>                                <tbody>                                    <tr style="vertical-align:top;" ng-repeat="tr in diseaseProofMedicalRecord.treatmentAdviceList">                                        <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="border-top: 0px;width:130px;padding-bottom:30px;font-size: 10px; font-family: 宋体;">                                            <div ng-if="tr.fdiToothCodes.length > 0">                                                <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                            </div>                                        </td>                                        <td ng-if="allowToothFDI" style="border-top: 0px;word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;font-size: 10px;">                                            <div ng-if="tr.fdiToothCodes.length > 0">                                                <span ng-bind-html="tr.fdiToothCodes|toToothFdiHtml"></span>                                            </div>                                        </td>                                        <td style="border-top: 0px;width:auto;font-size:14px;vertical-align:top;padding-bottom: 5px;" ng-bind-html="tr.content"></td>                                    </tr>                                </tbody>                            </table>                        </td>                    </tr>                </table>            </div>            <div class="emrCustomTemplate">                <table style="width:100%;                ">                    <tbody>                        <tr>                            <td style="text-align:left;font-size: 14px; ">                                <span style="display: block;">注：1、 未盖门诊医务科专用章无效；</span>                                <span style="padding-left: 28px;display: block;">2、 涂改无效；</span>                                <span style="padding-left:28px;display: block;">3、 只做疾病证明,不做他用。</span>                            </td>                        </tr>                    </tbody>                </table>            </div>            <div class="emrCustomTemplate" style="border-top:1px solid black;">                <table style="width:100%;">                    <tr>                        <td>                            <table style="width:100%;">                                <tr>                                    <td style="font-size:15px; width:20%;">科室：{{diseaseProofMedicalRecord.department}}</td>                                    <td style="font-size:15px ;text-align:center">                                        医生：{{diseaseProofMedicalRecord.doctorName}}                                    </td>                                    <td style="font-size:15px ;text-align:right;width:20%;">                                        日期：{{date | date:\'yyyy-MM-dd\'}}                                    </td>                                </tr>                            </table>                        </td>                    </tr>                </table>            </div>        </div>    </div></div>');templateCache.put('/app/emr/emr-print/new-emr-print-template.html','<div style="display: none;">    <div ng-if="printTemplateConfig.templateCode ==\'A4EMRTemplate1\' && !isEmrCustomTemplateEnabled" id="A4EMRTemplate1" name="A4EMRTemplate1" style="width: 100%">        <div id="templateBody" style="margin: 0px auto;" ng-style="{\'width\':isEmrCustomTemplateEnabled?\'90%\':\'auto\'}">            <h1 style="text-align:center;font-weight:bolder;padding:0;">{{office.name}}就诊病历</h1>            <div style="width: 100%;margin-top:10px;margin-bottom: 10px;border-bottom:1px solid black;" class="emrCustomTemplate" ng-if="isEmrCustomTemplateEnabled">                <table style="width:100%;font-size:15px ;font-weight:900;">                    <tr>                        <td>                            <table style="width:100%;">                                <tr>                                    <td style="font-size:15px ;font-weight:900; width:40%">                                        姓名：{{patient.name}}                                    </td>                                    <td style="font-size:15px ;font-weight:900; width:25%">                                        性别：{{patient.sex|toSexString}}                                    </td>                                    <td style="font-size:15px ;font-weight:900; ">                                        出生年月日：{{patient.birth|toDateString}}                                    </td>                                </tr>                                <tr>                                    <td style="font-size:15px ;font-weight:900; width:40%">                                        身份证号：{{patient.identityCard}}                                    </td>                                    <td style="font-size:15px ;font-weight:900; width:25%">                                        病历号：{{patient.privateId}}                                    </td>                                    <td style="font-size:15px ;font-weight:900; ">                                        就诊日期：{{printCurrentMedicalRecord.appointDateTime|toDateString}}                                    </td>                                </tr>                            </table>                        </td>                    </tr>                </table>            </div>            <div style="width: 100%" ng-if="!isEmrCustomTemplateEnabled">                <div style="border-top:2px solid black;border-bottom:2px solid black;">                    <table style="width:100%;">                        <tr>                            <td style="font-size:15px ;font-weight:900; width:30%;">姓名：{{patient.name}}</td>                            <td style="font-size:15px ;font-weight:900; width:30%;">性别：{{patient.sex|toSexString}}</td>                            <td style="font-size:15px ;font-weight:900; width:30%;">出生年月：{{patient.birth|toDateString}}</td>                        </tr>                    </table>                </div>                <div style="margin-top:10px;border-bottom:1px solid black;">                    <table style="width:100%;">                        <tr>                            <td style="font-size:15px ;font-weight:900;">病历号：{{patient.privateId}}</td>                            <td style="font-size:15px ;font-weight:900;">就诊日期：{{printCurrentMedicalRecord.appointDateTime|toDateString}}</td>                            <td style="font-size:15px ;font-weight:900;" ng-if="!printCurrentMedicalRecord.instructorName">医生：{{printCurrentMedicalRecord.doctorName}}</td>                            <td style="font-size:15px ;font-weight:900;" ng-if="printCurrentMedicalRecord.instructorName">实习医生：{{printCurrentMedicalRecord.doctorName}}</td>                            <td style="font-size:15px ;font-weight:900;" ng-if="printCurrentMedicalRecord.instructorName">医生：{{printCurrentMedicalRecord.instructorName}}</td>                        </tr>                    </table>                </div>            </div>            <div style="border-bottom:1px solid black;">                <table style="width:100%;">                    <tr ng-if="!(printCurrentMedicalRecord.chiefComplaint.length==0 && isDisableEMRBlankPrint)">                        <td style="font-size:15px ;font-weight:900; width:120px;">{{printCurrentMedicalRecord.firstVisit?"主诉:":"复诊:"}}</td>                        <td style="font-size:14px;font-weight:900;" ng-bind-html="printCurrentMedicalRecord.chiefComplaint"></td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.history.length==0 && isDisableEMRBlankPrint)">                        <td style="font-size:15px ;font-weight:900; width:120px;">现病史:</td>                        <td style="font-size:14px;font-weight:900;" ng-bind-html="printCurrentMedicalRecord.history"></td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.pastHistory.length==0 && isDisableEMRBlankPrint)">                        <td style="font-size:15px ;font-weight:900; width:120px;">既往史:</td>                        <td style="font-size:14px;font-weight:900;" ng-bind-html="printCurrentMedicalRecord.pastHistory"></td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.oralCheckRecordList.length==0&& isDisableEMRBlankPrint)">                        <td style="font-size:15px ;font-weight:900; width:120px;vertical-align:top;">{{isEmrCustomTemplateEnabled?"检查":"口腔检查"}}:</td>                        <td style="font-weight:900;">                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;" ng-repeat="oral in printCurrentMedicalRecord.oralCheckRecordList">                                        <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px; font-family: 宋体;">                                            <ares-emr-tooth-selector selected-tooth-codes="oral.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                        </td>                                        <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px;">                                            <span ng-bind-html="oral.fdiToothCodesArray|toToothFdiHtml"></span>                                        </td>                                        <td style="border-top: 1px dashed black;width:auto;font-size:14px;vertical-align:top;">                                            <div class="record-text" ng-if="IsAloneSaveOralCheckSymptom&&oral.observationName">                                                症状：<span ng-bind-html="oral.observationName|replaceHtmlWrap"></span>                                            </div>                                            <div class="record-text">                                                <span ng-bind-html="oral.description|replaceHtmlWrap"></span>                                            </div>                                        </td>                                    </tr>                                </tbody>                            </table>                        </td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.radiologyCheckRecordList.length==0&& isDisableEMRBlankPrint)">                        <td style="font-size:15px ;font-weight:900; width:120px;vertical-align:top;">{{isEmrCustomTemplateEnabled?"X线检查示":"辅助检查"}}:</td>                        <td style="font-weight:900;">                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;" ng-repeat="rad in printCurrentMedicalRecord.radiologyCheckRecordList">                                        <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px; font-family: 宋体;">                                            <ares-emr-tooth-selector selected-tooth-codes="rad.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                        </td>                                        <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px;">                                            <span ng-bind-html="rad.fdiToothCodesArray|toToothFdiHtml"></span>                                        </td>                                        <td style="border-top: 1px dashed black;width:auto;font-size:14px;vertical-align:top;" ng-bind-html="rad.description"></td>                                    </tr>                                </tbody>                            </table>                        </td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.associatedImageList.length ===0 && isDisableEMRBlankPrint)">                        <td style="font-size:15px ;font-weight:900; width:120px;vertical-align:top;">相关影像:</td>                        <td style="font-weight:900;">                            <table class=" table ">                                <tbody>                                <tr style="vertical-align:top;">                                    <td>                                        <emr-medical-image-display-view current-value="printCurrentMedicalRecord.associatedImageList" is-print="true"></emr-medical-image-display-view>                                    </td>                                </tr>                                </tbody>                            </table>                        </td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.diagnoseRecordList.length==0&& isDisableEMRBlankPrint)">                        <td style="font-size:15px ;font-weight:900; width:120px;vertical-align:top;">诊断:</td>                        <td style="font-weight:900;">                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;" ng-repeat="diag in printCurrentMedicalRecord.diagnoseRecordList">                                        <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px; font-family: 宋体;">                                            <ares-emr-tooth-selector selected-tooth-codes="diag.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                        </td>                                        <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px;">                                            <span ng-bind-html="diag.fdiToothCodesArray|toToothFdiHtml"></span>                                        </td>                                        <td style="border-top: 1px dashed black;width:auto;font-size:14px;vertical-align:top;" ng-bind-html="diag.diagnose"></td>                                    </tr>                                </tbody>                            </table>                        </td>                    </tr>                    <tr ng-if="isDiseaseCertificateEnabled&&!(printCurrentMedicalRecord.treatmentAdviceList.length==0&& isDisableEMRBlankPrint)">                        <td style="font-size:15px ;font-weight:900; width:120px;vertical-align:top;">治疗建议:</td>                        <td style="font-weight:900;">                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;" ng-repeat="tr in printCurrentMedicalRecord.treatmentAdviceList">                                        <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px; font-family: 宋体;">                                            <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                        </td>                                        <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px;">                                            <span ng-bind-html="tr.fdiToothCodesArray|toToothFdiHtml"></span>                                        </td>                                        <td style="border-top: 1px dashed black;width:auto;font-size:14px;vertical-align:top;" ng-bind-html="tr.content"></td>                                    </tr>                                </tbody>                            </table>                        </td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.treatmentPlanList.length==0&& isDisableEMRBlankPrint)">                        <td style="font-size:15px ;font-weight:900; width:120px;vertical-align:top;">治疗方案:</td>                        <td style="font-weight:900;">                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;" ng-repeat="tr in printCurrentMedicalRecord.treatmentPlanList">                                        <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px; font-family: 宋体;">                                            <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                        </td>                                        <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px;">                                            <span ng-bind-html="tr.fdiToothCodesArray|toToothFdiHtml"></span>                                        </td>                                        <td style="border-top: 1px dashed black;width:auto;font-size:14px;vertical-align:top;" ng-bind-html="tr.planContent"></td>                                    </tr>                                </tbody>                            </table>                        </td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.cureRecordList.length==0&& isDisableEMRBlankPrint)">                        <td style="font-size:15px ;font-weight:900; width:120px;vertical-align:top;">{{isEmrCustomTemplateEnabled?"处理":"处置"}}:</td>                        <td style="font-weight:900;">                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;" ng-repeat="cr in printCurrentMedicalRecord.cureRecordList">                                        <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px; font-family: 宋体;">                                            <ares-emr-tooth-selector selected-tooth-codes="cr.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                        </td>                                        <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;border-top: 1px dashed black;font-size: 10px;">                                            <span ng-bind-html="cr.fdiToothCodesArray|toToothFdiHtml"></span>                                        </td>                                        <td style="border-top: 1px dashed black;width:auto;font-size:14px;vertical-align:top;" ng-bind-html="cr.cure"></td>                                    </tr>                                </tbody>                            </table>                        </td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.advice.length==0 && isDisableEMRBlankPrint)">                        <td style="font-size:15px;font-weight:900; width:120px;">医嘱:</td>                        <td style="font-weight:900;font-size:14px;vertical-align:top;" ng-bind-html="printCurrentMedicalRecord.advice"></td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.comment.length==0 && isDisableEMRBlankPrint)">                        <td style="font-size:15px ;font-weight:900; width:120px;">备注:</td>                        <td style="font-weight:900;font-size:14px;vertical-align:top;" ng-bind-html="printCurrentMedicalRecord.comment"></td>                    </tr>                </table>            </div>            <div style="border-bottom:1px solid black;">                <table style="width:100%;">                    <tr>                        <td style="font-size:14px;font-weight:900;">地址：{{office.address}}</td>                        <td style="font-size:14px;font-weight:900;">联系电话：{{office.phoneNumber}}</td>                    </tr>                </table>            </div>            <div ng-if="isEmrCustomTemplateEnabled" class="emrCustomTemplate" style="border-top:1px solid black;">                <table style="width:100%;">                    <tr>                        <td>                            <table style="width:100%;">                                <tr>                                    <td style="font-size:15px ;font-weight:900;text-align:left">                                        医生签字：                                    </td>                                    <td style="font-size:15px ;font-weight:900;text-align:right">                                        &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp年&nbsp&nbsp&nbsp&nbsp月&nbsp&nbsp&nbsp&nbsp日&nbsp&nbsp&nbsp&nbsp时&nbsp&nbsp&nbsp&nbsp分                                    </td>                                </tr>                            </table>                        </td>                    </tr>                </table>            </div>        </div>    </div>    <div ng-if="printTemplateConfig.templateCode ==\'A4EMRCusTemplate1\'" id="A4EMRCusTemplate1" name="A4EMRTemplate1" style="width: 100%">        <style scoped>            .print-medical-record {                font-family: \'MacOsFont\', \'Microsoft Yahei\', \'微软雅黑\', Verdana, Arial, Helvetica, sans-serif !important;                font-size: 14px;            }            .print-medical-record .emr-chief-complaint .emr-field-content textarea,            .print-medical-record .emr-history .emr-field-content textarea,            .print-medical-record .emr-past-history .emr-field-content textarea,            .print-medical-record .emr-advice .emr-field-content textarea,            .print-medical-record .emr-comment .emr-field-content textarea {                margin: 0 39px;                width: 91%;                min-width: 91%;                height: auto;            }            .print-medical-record .emr-oral-check-records .emr-field-content textarea,            .print-medical-record .emr-cure-records .emr-field-content textarea,            .print-medical-record .emr-diagnose-records .emr-field-content textarea,            .print-medical-record .emr-radiology-check-records .emr-field-content textarea,            .print-medical-record .emr-treatment-advices .emr-field-content textarea,            .print-medical-record .emr-treatment-plans .emr-field-content textarea {                margin: 0 0;                width: 96%;                min-width: 96%;                height: auto;            }            .print-medical-record label {                margin: 0;            }            .print-medical-record .medical-record-content > div {                border-bottom: 1px solid #D8E0E7;                padding: 2px;            }            .print-medical-record .emr-level-0-group-title,            .print-medical-record .emr-level-0-title {                display: table-cell;                width: 80px;                vertical-align: middle;            }            .print-medical-record .emr-level-0-group-content,            .print-medical-record .emr-level-0-content {                display: table-cell;            }            .print-medical-record .emr-level-1-group-content,            .print-medical-record .emr-level-2-group-content,            .print-medical-record .emr-level-3-group-content {                padding: 12px 12px;            }            .print-medical-record .emr-level-1-title,            .print-medical-record .emr-level-2-title,            .print-medical-record .emr-level-3-title {                vertical-align: top;                display: table-cell;                min-width: 50px;            }            .print-medical-record .emr-level-1-content,            .print-medical-record .emr-level-2-content,            .print-medical-record .emr-level-3-content {                vertical-align: top;                display: table-cell;            }            .print-medical-record .tooth-text[ng-show="allowToothFDI"] {                display: none !important;            }            .print-medical-record .ares-emr-tooth-selector-view .tooth-chart .quadrant1 {                border-bottom: 1px solid #00a6c9;                min-width: 50px;                text-align: right;            }            .print-medical-record .ares-emr-tooth-selector-view .tooth-chart .quadrant2 {                border-left: 1px solid #00a6c9;                border-bottom: 1px solid #00a6c9;                min-width: 50px;                text-align: left;            }            .print-medical-record .ares-emr-tooth-selector-view .tooth-chart .quadrant3 {                border-left: 1px solid #00a6c9;                min-width: 50px;                text-align: left;            }            .print-medical-record .ares-emr-tooth-selector-view .tooth-chart .quadrant4 {                min-width: 50px;                text-align: right;            }        </style>        <div id="templateBody" style="margin: 0px auto;width:auto;">            <h1 style="text-align:center;font-weight:bolder;padding:0;">{{office.name}}就诊病历</h1>            <div style="width: 100%">                <div style="border-top:2px solid black;border-bottom:2px solid black;">                    <table style="width:100%;">                        <tr>                            <td style="font-size:15px ;font-weight:900; width:30%;">姓名：{{patient.name}}</td>                            <td style="font-size:15px ;font-weight:900; width:30%;">性别：{{patient.sex|toSexString}}</td>                            <td style="font-size:15px ;font-weight:900; width:30%;">出生年月：{{patient.birth|toDateString}}</td>                        </tr>                    </table>                </div>                <div style="margin-top:10px;border-bottom:1px solid black;">                    <table style="width:100%;">                        <tr>                            <td style="font-size:15px ;font-weight:900;">病历号：{{patient.privateId}}</td>                            <td style="font-size:15px ;font-weight:900;">就诊日期：{{printCurrentMedicalRecord.appointDateTime|toDateString}}</td>                            <td style="font-size:15px ;font-weight:900;" ng-if="!printCurrentMedicalRecord.instructorName">医生：{{printCurrentMedicalRecord.doctorName}}</td>                            <td style="font-size:15px ;font-weight:900;" ng-if="printCurrentMedicalRecord.instructorName">实习医生：{{printCurrentMedicalRecord.doctorName}}</td>                            <td style="font-size:15px ;font-weight:900;" ng-if="printCurrentMedicalRecord.instructorName">医生：{{printCurrentMedicalRecord.instructorName}}</td>                        </tr>                    </table>                </div>            </div>            <div class="print-medical-record" style="border-bottom:1px solid black;">                <emr-display-host-view medical-record="printCurrentMedicalRecord"                                       is-emr-custom-template-enabled="isEmrCustomTemplateEnabled"                                       allow-tooth-fdi="allowToothFDI"                                       allow-edit-tooth="allowEditToothFDI"></emr-display-host-view>            </div>            <div style="border-bottom:1px solid black;">                <table style="width:100%;">                    <tr>                        <td colspan="2" style="font-size:14px;font-weight:900;">地址：{{office.address}}</td>                        <td style="font-size:14px;font-weight:900;">联系电话：{{office.phoneNumber}}</td>                    </tr>                    <tr>                        <td style="font-size:14px;font-weight:900;">医生签字：</td>                        <td style="font-size:14px;font-weight:900;">患者家长签字：</td>                        <td style="font-size:14px;font-weight:900;">时间：</td>                    </tr>                </table>            </div>        </div>    </div>    <div ng-if="printTemplateConfig.templateCode ==\'A5EMRTemplate1\' && !isEmrCustomTemplateEnabled" id="A5EMRTemplate1" name="A5EMRTemplate1" style="width: 100%">        <div id="templateBody" style="margin: 0px auto" ng-style="{\'width\':isEmrCustomTemplateEnabled?\'90%\':\'auto\'}">            <style scoped>                .titleFont {                    font-size: 10px;                    font-family: SimHei;                }                .boldFont {                    font-weight: bolder;                    font-family: SimHei;                }            </style>            <div style="text-align:center;font-weight:bolder;padding:0;font-size:larger;">{{office.name}}电子病历</div>            <div style="width: 100%;margin-top:10px;" class="emrCustomTemplate" ng-if="isEmrCustomTemplateEnabled">                <table style="width:100%;">                    <tr>                        <td>                            <table style="width:100%;">                                <tr>                                    <td style="font-size:12px; font-weight: bolder; width:40%">                                        姓名：{{patient.name}}                                    </td>                                    <td style="font-size:12px; font-weight: bolder; width:25%">                                        性别：{{patient.sex|toSexString}}                                    </td>                                    <td style="font-size:12px; font-weight: bolder; ">                                        出生年月日：{{patient.birth|toDateString}}                                    </td>                                </tr>                                <tr>                                    <td style="font-size:12px; font-weight: bolder; width:40%">                                        身份证号：{{patient.identityCard}}                                    </td>                                    <td style="font-size:12px; font-weight: bolder; width:25%">                                        病历号：{{patient.privateId}}                                    </td>                                    <td style="font-size:12px; font-weight: bolder; ">                                        就诊日期：{{printCurrentMedicalRecord.appointDateTime|toDateString}}                                    </td>                                </tr>                            </table>                        </td>                    </tr>                </table>            </div>            <div style="width: 100%" ng-if="!isEmrCustomTemplateEnabled">                <table style="width:100%;">                    <tr>                        <td style="font-size:12px; font-weight: bolder; width:20%;">编号:{{patient.privateId}}</td>                        <td style="font-size:12px; font-weight: bolder; width:20%;">姓名:{{patient.name}}</td>                        <td style="font-size:12px; font-weight: bolder; width:10%;">性别:{{patient.sex|toSexString}}</td>                        <td style="font-size:12px; font-weight: bolder; width:10%;">年龄:{{patient.age}}</td>                    </tr>                </table>            </div>            <div ng-if="!(printCurrentMedicalRecord.chiefComplaint.length==0 && isDisableEMRBlankPrint)">                <div style="border-top:2px solid black;font-size:14px;">                    {{printCurrentMedicalRecord.firstVisit?"主诉:":"复诊:"}}                </div>                <div ng-bind-html="printCurrentMedicalRecord.chiefComplaint" style="font-size:smaller;margin-left:10px">                </div>            </div>            <div ng-if="!(printCurrentMedicalRecord.history.length==0 && isDisableEMRBlankPrint)">                <div style="font-size:14px;">                    现病史:                </div>                <div ng-bind-html="printCurrentMedicalRecord.history" style="font-size:smaller;margin-left:10px"> </div>            </div>            <div ng-if="!(printCurrentMedicalRecord.pastHistory.length==0 && isDisableEMRBlankPrint)">                <div style="font-size:14px;">                    既往史:                </div>                <div ng-bind-html="printCurrentMedicalRecord.pastHistory" style="font-size:smaller;margin-left:10px"> </div>            </div>            <div ng-if="!(printCurrentMedicalRecord.oralCheckRecordList.length==0&& isDisableEMRBlankPrint)">                <div style="font-size:14px;">                    <b>{{isEmrCustomTemplateEnabled?"检查":"口腔检查"}}:</b>                </div>                <div ng-repeat="oral in printCurrentMedicalRecord.oralCheckRecordList">                    <div>                        <table class=" table ">                            <tbody>                                <tr style="vertical-align:top;">                                    <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;font-size: 10px; font-family: 宋体;" ng-if="oral.fdiToothCodesArray.length>0 && !allowToothFDI">                                        <ares-emr-tooth-selector selected-tooth-codes="oral.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                    </td>                                    <td style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;font-size: 10px;" ng-if="oral.fdiToothCodesArray.length>0 && allowToothFDI">                                        <span ng-bind-html="oral.fdiToothCodesArray|toToothFdiHtml"></span>                                    </td>                                    <td style="width:auto;font-size:smaller;vertical-align:top;" ng-if="oral.description||(oral.observationName&&IsAloneSaveOralCheckSymptom&&oral.observationName)">                                        <div style="margin-left:10px" ng-if="IsAloneSaveOralCheckSymptom&&oral.observationName">                                            症状：<span ng-bind-html="oral.observationName|replaceHtmlWrap"></span>                                        </div>                                        <div style="margin-left:10px" ng-bind-html="oral.description|replaceHtmlWrap"></div>                                    </td>                                </tr>                            </tbody>                        </table>                    </div>                </div>            </div>            <div ng-if="!(printCurrentMedicalRecord.radiologyCheckRecordList.length==0&& isDisableEMRBlankPrint)">                <div style="font-size:14px;">                    {{isEmrCustomTemplateEnabled?"X线检查示":"辅助检查"}}:                </div>                <div ng-repeat="rad in printCurrentMedicalRecord.radiologyCheckRecordList">                    <div>                        <table class="table ">                            <tbody>                                <tr style="vertical-align:top;">                                    <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;font-size: 10px; font-family: 宋体;" ng-if="rad.fdiToothCodesArray.length>0 && !allowToothFDI">                                        <ares-emr-tooth-selector selected-tooth-codes="rad.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                    </td>                                    <td style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;font-size: 10px;" ng-if="rad.fdiToothCodesArray.length>0 && allowToothFDI">                                        <span ng-bind-html="rad.fdiToothCodesArray|toToothFdiHtml"></span>                                    </td>                                    <td style="width:auto;font-size:smaller;margin-left:10px;vertical-align:top;" ng-if="rad.description"><div style="margin-left:10px" ng-bind-html="rad.description"></div></td>                                </tr>                            </tbody>                        </table>                    </div>                </div>            </div>            <div ng-if="!(printCurrentMedicalRecord.associatedImageList.length === 0 && isDisableEMRBlankPrint)">                <div style="font-size:14px;">相关影像:</div>                <div>                    <table class="table ">                        <tbody>                            <tr style="vertical-align:top;">                                <td>                                    <emr-medical-image-display-view current-value="printCurrentMedicalRecord.associatedImageList" is-print="true"></emr-medical-image-display-view>                                </td>                            </tr>                        </tbody>                    </table>                </div>            </div>            <div ng-if="!(printCurrentMedicalRecord.diagnoseRecordList.length==0&& isDisableEMRBlankPrint)">                <div style="font-size:14px;">                    诊断:                </div>                <div ng-repeat="diag in printCurrentMedicalRecord.diagnoseRecordList">                    <div>                        <table class=" table ">                            <tbody>                                <tr style="vertical-align:top;">                                    <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;font-size: 10px; font-family: 宋体;" ng-if="diag.fdiToothCodesArray.length>0 && !allowToothFDI">                                        <ares-emr-tooth-selector selected-tooth-codes="diag.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                    </td>                                    <td style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;font-size: 10px;" ng-if="diag.fdiToothCodesArray.length>0 && allowToothFDI">                                        <span ng-bind-html="diag.fdiToothCodesArray|toToothFdiHtml"></span>                                    </td>                                    <td style="width:auto;font-size:smaller;margin-left:10px;vertical-align:top;" ng-if="diag.diagnose"><div style="margin-left:10px" ng-bind-html="diag.diagnose"></div></td>                                </tr>                            </tbody>                        </table>                    </div>                </div>            </div>            <div ng-if="isDiseaseCertificateEnabled &&!(printCurrentMedicalRecord.treatmentAdviceList.length==0&& isDisableEMRBlankPrint)">                <div style="font-size:14px;">                    治疗建议:                </div>                <div ng-repeat="tr in printCurrentMedicalRecord.treatmentAdviceList">                    <div>                        <table class=" table ">                            <tbody>                                <tr style="vertical-align:top;">                                    <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;font-size: 10px; font-family: 宋体;" ng-if="tr.fdiToothCodesArray.length>0 && !allowToothFDI">                                        <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                    </td>                                    <td style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;font-size: 10px;" ng-if="tr.fdiToothCodesArray.length>0 && allowToothFDI">                                        <span ng-bind-html="tr.fdiToothCodesArray|toToothFdiHtml"></span>                                    </td>                                    <td style="width:auto;font-size:smaller;margin-left:10px;vertical-align:top;" ng-if="tr.content"><div style="margin-left:10px" ng-bind-html="tr.content"></div></td>                                </tr>                            </tbody>                        </table>                    </div>                </div>            </div>            <div ng-if="!(printCurrentMedicalRecord.treatmentPlanList.length==0&& isDisableEMRBlankPrint)">                <div style="font-size:14px;">                    治疗方案:                </div>                <div ng-repeat="tr in printCurrentMedicalRecord.treatmentPlanList">                    <div>                        <table class=" table ">                            <tbody>                                <tr style="vertical-align:top;">                                    <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;font-size: 10px; font-family: 宋体;" ng-if="tr.fdiToothCodesArray.length>0 && !allowToothFDI">                                        <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                    </td>                                    <td style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;font-size: 10px;" ng-if="tr.fdiToothCodesArray.length>0 && allowToothFDI">                                        <span ng-bind-html="tr.fdiToothCodesArray|toToothFdiHtml"></span>                                    </td>                                    <td style="width:auto;font-size:smaller;margin-left:10px;vertical-align:top;" ng-if="tr.planContent"><div style="margin-left:10px" ng-bind-html="tr.planContent"></div></td>                                </tr>                            </tbody>                        </table>                    </div>                </div>            </div>            <div ng-if="!(printCurrentMedicalRecord.cureRecordList.length==0&& isDisableEMRBlankPrint)">                <div style="font-size:14px;">                    {{isEmrCustomTemplateEnabled?"处理":"处置"}}:                </div>                <div ng-repeat="cr in printCurrentMedicalRecord.cureRecordList">                    <div>                        <table class="table">                            <tbody>                                <tr style="vertical-align:top;">                                    <td ng-if="cr.fdiToothCodesArray.length>0 && !allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;font-size: 10px; font-family: 宋体;">                                        <ares-emr-tooth-selector selected-tooth-codes="cr.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                    </td>                                    <td ng-if="cr.fdiToothCodesArray.length>0 && allowToothFDI" style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;font-size: 10px;">                                        <span ng-bind-html="cr.fdiToothCodesArray|toToothFdiHtml"></span>                                    </td>                                    <td style="width:auto;font-size:smaller;vertical-align:top;" ng-if="cr.cure"><div style="margin-left:10px" ng-bind-html="cr.cure"></div></td>                                </tr>                            </tbody>                        </table>                    </div>                </div>            </div>            <div ng-if="!(printCurrentMedicalRecord.advice.length==0 && isDisableEMRBlankPrint)">                <div style="font-size:14px;">                    医嘱:                </div>                <div ng-bind-html="printCurrentMedicalRecord.advice" style="font-size:smaller;margin-left:10px">                </div>            </div>            <div style="border-top:2px solid black;margin-top:2px;" ng-if="!isEmrCustomTemplateEnabled">                <table style="width:100%;">                    <tr>                        <td style="font-size:12px; font-weight: bolder; width:20%;">科室：{{printCurrentMedicalRecord.department}}</td>                        <td style="font-size:12px; font-weight: bolder; width:20%;" align="right" ng-if="printCurrentMedicalRecord.instructorName">实习医生签名:</td>                        <td style="border-bottom:1px solid black; margin-left:-5px;width:100px;" align="left" ng-if="printCurrentMedicalRecord.instructorName"></td>                        <td style="font-size:12px; font-weight: bolder; width:20%;" align="right" ng-if="printCurrentMedicalRecord.instructorName">医生签名:</td>                        <td style="border-bottom:1px solid black; margin-left:-5px;width:100px;" align="left" ng-if="printCurrentMedicalRecord.instructorName"></td>                        <td style="font-size:12px; font-weight: bolder; width:20%;" align="right" ng-if="!printCurrentMedicalRecord.instructorName">医生签名:</td>                        <td style="border-bottom:1px solid black; margin-left:-5px;width:100px;" align="left" ng-if="!printCurrentMedicalRecord.instructorName"></td>                        <td style="font-size:12px; font-weight: bolder;" align="center">日期：{{date | date:\'yyyy-MM-dd HH:mm\'}}</td>                    </tr>                </table>            </div>            <div style="border-top:2px solid black;margin-top:2px;" ng-if="isEmrCustomTemplateEnabled" class="emrCustomTemplate">                <table style="width:100%;font-size:15px ;font-weight:900;">                    <tr>                        <td>                            <table style="width:100%;">                                <tr>                                    <td style="font-size:12px; font-weight: bolder; text-align:left">                                        医生签字：                                    </td>                                    <td style="font-size:12px; font-weight: bolder; text-align:right">                                        &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp年&nbsp&nbsp&nbsp&nbsp月&nbsp&nbsp&nbsp&nbsp日&nbsp&nbsp&nbsp&nbsp时&nbsp&nbsp&nbsp&nbsp分                                    </td>                                </tr>                            </table>                        </td>                    </tr>                </table>            </div>        </div>    </div>    <div ng-if="printTemplateConfig.templateCode ==\'A4EMRTemplate1\' && isEmrCustomTemplateEnabled" id="A4EMRTemplate1" name="A4EMRTemplate1" style="width: 100%; ">        <style>            .maintable table td {                padding: 5px;            }        </style>        <table style="width: 100%;">            <tr>                <td>                    <img src="/content/documentimgs/yaboshi_logo1.png" style="width:180px; margin-left:75px" />                </td>            </tr>            <tr>                <td style="height: 50px; line-height: 50px; background-color: #eeefef">                    <img src="/content/documentimgs/yaboshi_logo2.png" style="width:120px; float:right;margin-top:-10px;" />                    <label style="font-weight: 900; font-size: 22px; margin-left: 85px;font-family: 宋体;">就诊病历</label>                </td>            </tr>            <tr>                <td>                    <table class="maintable" style="margin-left: 75px; margin-right: 5px; min-width: 90%; ">                        <tr>                            <td>                                <table style="width: 100%; font-size: 10px; font-family: 宋体; ">                                    <tr>                                        <td style="width:30%">                                            姓名：<span>{{patient.name}}</span>                                        </td>                                        <td style="width:30%">                                            性别：<span>{{patient.sex|toSexString}}</span>                                        </td>                                        <td style="width:30%">                                            出生年月日：<span>{{patient.birth|toDateString}}</span>                                        </td>                                    </tr>                                    <tr>                                        <td style="width:30%">                                            身份证号：<span>{{patient.identityCard}}</span>                                        </td>                                        <td style="width:30%">                                            病历号：<span>{{patient.privateId}}</span>                                        </td>                                        <td>                                            就诊日期：<span>{{printCurrentMedicalRecord.appointDateTime|toLongDateMMString}}</span>                                        </td>                                    </tr>                                </table>                            </td>                        </tr>                        <tr>                            <td>                                <hr style="border:1px dashed #000" />                            </td>                        </tr>                        <tr>                            <td>                                <table style="width: 100%; font-size: 10px; font-family: 宋体;  ">                                    <tr ng-if="!(printCurrentMedicalRecord.chiefComplaint.length==0 && isDisableEMRBlankPrint)">                                        <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">{{printCurrentMedicalRecord.firstVisit?"主诉:":"复诊:"}}</td>                                        <td ng-bind-html="printCurrentMedicalRecord.chiefComplaint"></td>                                    </tr>                                    <tr ng-if="!(printCurrentMedicalRecord.history.length==0 && isDisableEMRBlankPrint)">                                        <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">现病史:</td>                                        <td ng-bind-html="printCurrentMedicalRecord.history"></td>                                    </tr>                                    <tr ng-if="!(printCurrentMedicalRecord.pastHistory.length==0 && isDisableEMRBlankPrint)">                                        <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">既往史:</td>                                        <td ng-bind-html="printCurrentMedicalRecord.pastHistory"></td>                                    </tr>                                    <tr ng-if="!(printCurrentMedicalRecord.oralCheckRecordList.length==0&& isDisableEMRBlankPrint)">                                        <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">{{isEmrCustomTemplateEnabled?"检查":"口腔检查"}}:</td>                                        <td>                                            <table style="font-size: 10px; font-family: 宋体;">                                                <tbody>                                                    <tr style="vertical-align:top;" ng-repeat="oral in printCurrentMedicalRecord.oralCheckRecordList">                                                        <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;">                                                            <ares-emr-tooth-selector selected-tooth-codes="oral.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                                        </td>                                                        <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;">                                                            <span ng-bind-html="oral.fdiToothCodesArray|toToothFdiHtml"></span>                                                        </td>                                                        <td style="width:auto;vertical-align:top;">                                                            <div class="record-text" ng-if="IsAloneSaveOralCheckSymptom&&oral.observationName">                                                                症状：<span ng-bind-html="oral.observationName|replaceHtmlWrap"></span>                                                            </div>                                                            <div class="record-text">                                                                <span ng-bind-html="oral.description|replaceHtmlWrap"></span>                                                            </div>                                                        </td>                                                    </tr>                                                </tbody>                                            </table>                                        </td>                                    </tr>                                    <tr ng-if="!(printCurrentMedicalRecord.radiologyCheckRecordList.length==0&& isDisableEMRBlankPrint)">                                        <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">{{isEmrCustomTemplateEnabled?"X线检查示":"辅助检查"}}:</td>                                        <td>                                            <table style="font-size: 10px; font-family: 宋体;">                                                <tbody>                                                    <tr style="vertical-align:top;" ng-repeat="rad in printCurrentMedicalRecord.radiologyCheckRecordList">                                                        <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;">                                                            <ares-emr-tooth-selector selected-tooth-codes="rad.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                                        </td>                                                        <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;">                                                            <span ng-bind-html="rad.fdiToothCodesArray|toToothFdiHtml"></span>                                                        </td>                                                        <td style="width:auto;vertical-align:top;" ng-bind-html="rad.description"></td>                                                    </tr>                                                </tbody>                                            </table>                                        </td>                                    </tr>                                    <tr ng-if="!(printCurrentMedicalRecord.associatedImageList.length ===0 && isDisableEMRBlankPrint)">                                        <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">相关影像:</td>                                        <td>                                            <table style="font-size: 10px; font-family: 宋体;">                                                <tbody>                                                    <tr style="vertical-align:top;">                                                        <td>                                                            <emr-medical-image-display-view current-value="printCurrentMedicalRecord.associatedImageList" is-print="true"></emr-medical-image-display-view>                                                        </td>                                                    </tr>                                                </tbody>                                            </table>                                        </td>                                    </tr>                                    <tr ng-if="!(printCurrentMedicalRecord.diagnoseRecordList.length==0&& isDisableEMRBlankPrint)">                                        <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">诊断:</td>                                        <td>                                            <table style="font-size: 10px; font-family: 宋体;">                                                <tbody>                                                    <tr style="vertical-align:top;" ng-repeat="diag in printCurrentMedicalRecord.diagnoseRecordList">                                                        <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;">                                                            <ares-emr-tooth-selector selected-tooth-codes="diag.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                                        </td>                                                        <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;">                                                            <span ng-bind-html="diag.fdiToothCodesArray|toToothFdiHtml"></span>                                                        </td>                                                        <td style="width:auto;vertical-align:top;" ng-bind-html="diag.diagnose"></td>                                                    </tr>                                                </tbody>                                            </table>                                        </td>                                    </tr>                                    <tr ng-if="isDiseaseCertificateEnabled&&!(printCurrentMedicalRecord.treatmentAdviceList.length==0&& isDisableEMRBlankPrint)">                                        <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">治疗建议:</td>                                        <td>                                            <table style="font-size: 10px; font-family: 宋体;">                                                <tbody>                                                    <tr style="vertical-align:top;" ng-repeat="tr in printCurrentMedicalRecord.treatmentAdviceList">                                                        <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;">                                                            <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                                        </td>                                                        <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;">                                                            <span ng-bind-html="tr.fdiToothCodesArray|toToothFdiHtml"></span>                                                        </td>                                                        <td style="width:auto;vertical-align:top;" ng-bind-html="tr.content"></td>                                                    </tr>                                                </tbody>                                            </table>                                        </td>                                    </tr>                                    <tr ng-if="!(printCurrentMedicalRecord.treatmentPlanList.length==0&& isDisableEMRBlankPrint)">                                        <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">治疗方案:</td>                                        <td>                                            <table style="font-size: 10px; font-family: 宋体;">                                                <tbody>                                                    <tr style="vertical-align:top;" ng-repeat="tr in printCurrentMedicalRecord.treatmentPlanList">                                                        <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;">                                                            <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                                        </td>                                                        <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;">                                                            <span ng-bind-html="tr.fdiToothCodesArray|toToothFdiHtml"></span>                                                        </td>                                                        <td style="width:auto;vertical-align:top;" ng-bind-html="tr.planContent"></td>                                                    </tr>                                                </tbody>                                            </table>                                        </td>                                    </tr>                                    <tr ng-if="!(printCurrentMedicalRecord.cureRecordList.length==0&& isDisableEMRBlankPrint)">                                        <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">{{isEmrCustomTemplateEnabled?"处理":"处置"}}:</td>                                        <td>                                            <table style="font-size: 10px; font-family: 宋体;">                                                <tbody>                                                    <tr style="vertical-align:top;" ng-repeat="cr in printCurrentMedicalRecord.cureRecordList">                                                        <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;">                                                            <ares-emr-tooth-selector selected-tooth-codes="cr.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                                        </td>                                                        <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;">                                                            <span ng-bind-html="cr.fdiToothCodesArray|toToothFdiHtml"></span>                                                        </td>                                                        <td style="width:auto;vertical-align:top;" ng-bind-html="cr.cure"></td>                                                    </tr>                                                </tbody>                                            </table>                                        </td>                                    </tr>                                    <tr ng-if="!(printCurrentMedicalRecord.advice.length==0 && isDisableEMRBlankPrint)">                                        <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">医嘱:</td>                                        <td ng-bind-html="printCurrentMedicalRecord.advice"></td>                                    </tr>                                    <tr ng-if="!(printCurrentMedicalRecord.comment.length==0 && isDisableEMRBlankPrint)">                                        <td style=" width: 70px; font-weight: 900 !important;vertical-align: top;">备注:</td>                                        <td ng-bind-html="printCurrentMedicalRecord.comment"></td>                                    </tr>                                </table>                            </td>                        </tr>                        <tr>                            <td>                                <hr style="border:1px dashed #000" />                            </td>                        </tr>                        <tr>                            <td>                                <table style="width: 100%; font-size: 10px; font-family: 宋体;">                                    <tr>                                        <td style="text-align:left" colspan="2">                                            医生签字：                                        </td>                                        <td style="text-align:right">                                            &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp年&nbsp&nbsp&nbsp&nbsp月&nbsp&nbsp&nbsp&nbsp日&nbsp&nbsp&nbsp&nbsp时&nbsp&nbsp&nbsp&nbsp分                                        </td>                                    </tr>                                </table>                            </td>                        </tr>                    </table>                </td>            </tr>        </table>    </div>    <div ng-if="printTemplateConfig.templateCode ==\'A5EMRTemplate1\' && isEmrCustomTemplateEnabled" id="A5EMRTemplate1" name="A5EMRTemplate1" style="width: 100%" class="emrCustomTemplate">        <table style="width: 100%;" ng-if="isEmrCustomTemplateEnabled" class="emrCustomTemplateTitle">            <tr>                <td>                    <img src="/content/documentimgs/yaboshi_logo1.png" style="width:180px; margin-left:75px" />                </td>            </tr>            <tr>                <td style="height: 50px; line-height: 50px; background-color: #eeefef">                    <img src="/content/documentimgs/yaboshi_logo2.png" style="width:120px; float:right;margin-top:-10px;" />                    <label style="font-weight:900;font-size:22px;margin-left:85px;font-weight:900;font-size:22px;margin-left:85px;font-family: 宋体;">就诊病历</label>                </td>            </tr>        </table>        <div id="templateBody" style="margin: 0px auto" ng-style="{\'width\':isEmrCustomTemplateEnabled?\'90%\':\'auto\'}">            <div style="width: 100%;margin-top:10px;border-bottom:1px solid black;" class="emrCustomTemplate" ng-if="isEmrCustomTemplateEnabled">                <table style="width:100%;font-size:10px;">                    <tr>                        <td>                            <table style="width:100%;">                                <tr>                                    <td style="font-size:10px;  width:40%">                                        姓名：{{patient.name}}                                    </td>                                    <td style="font-size:10px;   width:25%">                                        性别：{{patient.sex|toSexString}}                                    </td>                                    <td style="font-size:10px;   ">                                        出生年月日：{{patient.birth|toDateString}}                                    </td>                                </tr>                                <tr>                                    <td style="font-size:10px;  width:40%">                                        身份证号：{{patient.identityCard}}                                    </td>                                    <td style="font-size:10px;  width:25%">                                        病历号：{{patient.privateId}}                                    </td>                                    <td style="font-size:10px;  ">                                        就诊日期：{{printCurrentMedicalRecord.appointDateTime|toDateString}}                                    </td>                                </tr>                            </table>                        </td>                    </tr>                </table>            </div>            <div ng-if="!(printCurrentMedicalRecord.chiefComplaint.length==0 && isDisableEMRBlankPrint)">                <div style="border-top:2px solid black;font-size:10px;">                    {{printCurrentMedicalRecord.firstVisit?"主诉:":"复诊:"}}                </div>                <div ng-bind-html="printCurrentMedicalRecord.chiefComplaint" style="font-size:smaller;margin-left:10px">                </div>            </div>            <div ng-if="!(printCurrentMedicalRecord.history.length==0 && isDisableEMRBlankPrint)">                <div style="font-size:10px;">                    现病史:                </div>                <div ng-bind-html="printCurrentMedicalRecord.history" style="font-size:smaller;margin-left:10px"> </div>            </div>            <div ng-if="!(printCurrentMedicalRecord.pastHistory.length==0 && isDisableEMRBlankPrint)">                <div style="font-size:10px;">                    既往史:                </div>                <div ng-bind-html="printCurrentMedicalRecord.pastHistory" style="font-size:smaller;margin-left:10px"> </div>            </div>            <div ng-if="!(printCurrentMedicalRecord.oralCheckRecordList.length==0&& isDisableEMRBlankPrint)">                <div style="font-size:10px;">                    <b>{{isEmrCustomTemplateEnabled?"检查":"口腔检查"}}:</b>                </div>                <div ng-repeat="oral in printCurrentMedicalRecord.oralCheckRecordList">                    <div>                        <table class=" table ">                            <tbody>                                <tr style="vertical-align:top;">                                    <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;" ng-if="oral.fdiToothCodesArray.length>0 && !allowToothFDI">                                        <ares-emr-tooth-selector selected-tooth-codes="oral.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                    </td>                                    <td style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;" ng-if="oral.fdiToothCodesArray.length>0 && allowToothFDI">                                        <span ng-bind-html="oral.fdiToothCodesArray|toToothFdiHtml"></span>                                    </td>                                    <td style="width:auto;font-size:smaller;vertical-align:top;" ng-if="oral.description||(oral.observationName&&IsAloneSaveOralCheckSymptom&&oral.observationName)">                                        <div style="margin-left:10px" ng-if="IsAloneSaveOralCheckSymptom&&oral.observationName">                                            症状：<span ng-bind-html="oral.observationName|replaceHtmlWrap"></span>                                        </div>                                        <div style="margin-left:10px" ng-bind-html="oral.description|replaceHtmlWrap"></div>                                    </td>                                </tr>                            </tbody>                        </table>                    </div>                </div>            </div>            <div ng-if="!(printCurrentMedicalRecord.radiologyCheckRecordList.length==0&& isDisableEMRBlankPrint)">                <div style="font-size:10px;">                    {{isEmrCustomTemplateEnabled?"X线检查示":"辅助检查"}}:                </div>                <div ng-repeat="rad in printCurrentMedicalRecord.radiologyCheckRecordList">                    <div>                        <table class="table ">                            <tbody>                                <tr style="vertical-align:top;">                                    <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;" ng-if="rad.fdiToothCodesArray.length>0 && !allowToothFDI">                                        <ares-emr-tooth-selector selected-tooth-codes="rad.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                    </td>                                    <td style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;" ng-if="rad.fdiToothCodesArray.length>0 && allowToothFDI">                                        <span ng-bind-html="rad.fdiToothCodesArray|toToothFdiHtml"></span>                                    </td>                                    <td style="width:auto;font-size:smaller;margin-left:10px;vertical-align:top;" ng-if="rad.description"><div style="margin-left:10px" ng-bind-html="rad.description"></div></td>                                </tr>                            </tbody>                        </table>                    </div>                </div>            </div>            <div ng-if="!(printCurrentMedicalRecord.associatedImageList.length === 0 && isDisableEMRBlankPrint)">                <div style="font-size:10px;">相关影像:</div>                <div>                    <table class="table ">                        <tbody>                        <tr style="vertical-align:top;">                            <td>                                <emr-medical-image-display-view current-value="printCurrentMedicalRecord.associatedImageList" is-print="true"></emr-medical-image-display-view>                            </td>                        </tr>                        </tbody>                    </table>                </div>            </div>            <div ng-if="!(printCurrentMedicalRecord.diagnoseRecordList.length==0&& isDisableEMRBlankPrint)">                <div style="font-size:10px;">                    诊断:                </div>                <div ng-repeat="diag in printCurrentMedicalRecord.diagnoseRecordList">                    <div>                        <table class=" table ">                            <tbody>                                <tr style="vertical-align:top;">                                    <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;" ng-if="diag.fdiToothCodesArray.length>0 && !allowToothFDI">                                        <ares-emr-tooth-selector selected-tooth-codes="diag.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                    </td>                                    <td style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;" ng-if="diag.fdiToothCodesArray.length>0 && allowToothFDI">                                        <span ng-bind-html="diag.fdiToothCodesArray|toToothFdiHtml"></span>                                    </td>                                    <td style="width:auto;font-size:smaller;margin-left:10px;vertical-align:top;" ng-if="diag.diagnose"><div style="margin-left:10px" ng-bind-html="diag.diagnose"></div></td>                                </tr>                            </tbody>                        </table>                    </div>                </div>            </div>            <div ng-if="isDiseaseCertificateEnabled&&!(printCurrentMedicalRecord.treatmentAdviceList.length==0&& isDisableEMRBlankPrint)">                <div style="font-size:10px;">                    治疗建议:                </div>                <div ng-repeat="tr in printCurrentMedicalRecord.treatmentAdviceList">                    <div>                        <table class=" table ">                            <tbody>                                <tr style="vertical-align:top;">                                    <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;" ng-if="tr.fdiToothCodesArray.length>0 && !allowToothFDI">                                        <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                    </td>                                    <td style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;" ng-if="tr.fdiToothCodesArray.length>0 && allowToothFDI">                                        <span ng-bind-html="tr.fdiToothCodesArray|toToothFdiHtml"></span>                                    </td>                                    <td style="width:auto;font-size:smaller;margin-left:10px;vertical-align:top;" ng-if="tr.content"><div style="margin-left:10px" ng-bind-html="tr.content"></div></td>                                </tr>                            </tbody>                        </table>                    </div>                </div>            </div>            <div ng-if="!(printCurrentMedicalRecord.treatmentPlanList.length==0&& isDisableEMRBlankPrint)">                <div style="font-size:10px;">                    治疗方案:                </div>                <div ng-repeat="tr in printCurrentMedicalRecord.treatmentPlanList">                    <div>                        <table class=" table ">                            <tbody>                                <tr style="vertical-align:top;">                                    <td ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;" ng-if="tr.fdiToothCodesArray.length>0 && !allowToothFDI">                                        <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                    </td>                                    <td style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;" ng-if="tr.fdiToothCodesArray.length>0 && allowToothFDI">                                        <span ng-bind-html="tr.fdiToothCodesArray|toToothFdiHtml"></span>                                    </td>                                    <td style="width:auto;font-size:smaller;margin-left:10px;vertical-align:top;" ng-if="tr.planContent"><div style="margin-left:10px" ng-bind-html="tr.planContent"></div></td>                                </tr>                            </tbody>                        </table>                    </div>                </div>            </div>            <div ng-if="!(printCurrentMedicalRecord.cureRecordList.length==0&& isDisableEMRBlankPrint)">                <div style="font-size:10px;">                    {{isEmrCustomTemplateEnabled?"处理":"处置"}}:                </div>                <div ng-repeat="cr in printCurrentMedicalRecord.cureRecordList">                    <div>                        <table class="table">                            <tbody>                                <tr style="vertical-align:top;">                                    <td ng-if="cr.fdiToothCodesArray.length>0 && !allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;">                                        <ares-emr-tooth-selector selected-tooth-codes="cr.fdiToothCodesArray" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                    </td>                                    <td ng-if="cr.fdiToothCodesArray.length>0 && allowToothFDI" style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;">                                        <span ng-bind-html="cr.fdiToothCodesArray|toToothFdiHtml"></span>                                    </td>                                    <td style="width:auto;font-size:smaller;vertical-align:top;" ng-if="cr.cure"><div style="margin-left:10px" ng-bind-html="cr.cure"></div></td>                                </tr>                            </tbody>                        </table>                    </div>                </div>            </div>            <div ng-if="!(printCurrentMedicalRecord.advice.length==0 && isDisableEMRBlankPrint)">                <div style="font-size:10px;">                    医嘱:                </div>                <div ng-bind-html="printCurrentMedicalRecord.advice" style="font-size:smaller;margin-left:10px">                </div>            </div>            <div style="border-top:2px solid black;margin-top:2px;" ng-if="!isEmrCustomTemplateEnabled">                <table style="width:100%;">                    <tr>                        <td style="font-size:12px; font-weight: bolder; width:20%;">科室：{{printCurrentMedicalRecord.department}}</td>                        <td style="font-size:12px; font-weight: bolder; width:20%;" align="right">医生签名:</td>                        <td style="border-bottom:1px solid black; margin-left:-5px;width:100px;" align="left"></td>                        <td style="font-size:12px; font-weight: bolder;" align="center">日期：{{date | date:\'yyyy-MM-dd hh:mm\'}}</td>                    </tr>                </table>            </div>            <div ng-if="isEmrCustomTemplateEnabled" class="emrCustomTemplate" style="border-top:2px solid black;margin-top:2px;">                <table style="width:100%;">                    <tr>                        <td>                            <table style="width:100%;">                                <tr>                                    <td style="font-size:10px;text-align:left">                                        医生签字：                                    </td>                                    <td style="font-size: 10px; text-align: right; ">                                        &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp年&nbsp&nbsp&nbsp&nbsp月&nbsp&nbsp&nbsp&nbsp日&nbsp&nbsp&nbsp&nbsp时&nbsp&nbsp&nbsp&nbsp分                                    </td>                                </tr>                            </table>                        </td>                    </tr>                </table>            </div>        </div>    </div>    <div ng-if="printTemplateConfig.templateCode ==\'SaisiEMRTemplate\'" id="SaisiEMRTemplate" name="SaisiEMRTemplate" style="width: 90%;">        <div id="templateBody" style="width: 78%;padding : 0;min-height:880px;">            <!--<h1 style="text-align:center;font-weight:bolder;padding:0;">{{office.name}}就诊病历</h1>-->            <div style="margin-top:10px;">                <table style="width:100%;">                    <tr>                        <td style="font-size:15px ;font-weight:400; width:30%;font-family: 宋体">患者姓名：{{patient.name}}</td>                        <td style="font-size:15px ;font-weight:400; width:30%;font-family: 宋体">病历编号：{{patient.privateId}}</td>                        <td style="font-size:15px ;font-weight:400; width:30%;font-family: 宋体">{{printCurrentMedicalRecord.appointDateTime|toDateString}}</td>                    </tr>                </table>            </div>            <!--<div style="margin-top:10px;border-bottom:1px solid black;">                <table style="width:100%;">                    <tr>                        <td style="font-size:15px ;font-weight:900;">就诊日期：</td>                        <td style="font-size:15px ;font-weight:900;">医生：{{printCurrentMedicalRecord.doctorName}}</td>                    </tr>                </table>            </div>-->            <div style="margin-top: 10px;">                <table style="width:100%;">                    <tr ng-if="!(printCurrentMedicalRecord.chiefComplaint.length==0 && isDisableEMRBlankPrint)" style="margin-top:30px;">                        <td style="font-size:15px ;font-weight:400; width:120px;vertical-align: top; padding-top: 8px;font-family: 宋体">{{printCurrentMedicalRecord.firstVisit?"主诉:":"复诊:"}}</td>                        <td style="font-size:15px;font-weight:400;font-family: 宋体" ng-bind-html="printCurrentMedicalRecord.chiefComplaint"></td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.history.length==0 && isDisableEMRBlankPrint)" style="margin-top:30px;">                        <td style="font-size: 15px; font-weight: 400; width: 120px; vertical-align: top; padding-top: 8px;font-family: 宋体">现病史:</td>                        <td style="font-size:15px;font-weight:400;font-family: 宋体" ng-bind-html="printCurrentMedicalRecord.history"></td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.pastHistory.length==0 && isDisableEMRBlankPrint)" style="margin-top:30px;">                        <td style="font-size:15px ;font-weight:400; width:120px;vertical-align: top; padding-top: 8px;font-family: 宋体">既往史:</td>                        <td style="font-size:15px;font-weight:400;font-family: 宋体" ng-bind-html="printCurrentMedicalRecord.pastHistory"></td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.oralCheckRecordList.length==0&& isDisableEMRBlankPrint)" style="margin-top:30px;">                        <td style="font-size:15px ;font-weight:400; width:120px;vertical-align: top; padding-top: 8px;font-family: 宋体">{{isEmrCustomTemplateEnabled?"检查":"口腔检查"}}:</td>                        <td style="font-weight:400;">                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;" ng-repeat="oral in printCurrentMedicalRecord.oralCheckRecordList">                                        <td style="width: 130px; max-width: 130px; padding-top: 10px; padding-bottom: 30px; vertical-align: middle; " ng-if="oral.fdiToothCodesArray.length>0">                                            <span style=" display: block; white-space: pre-wrap; word-wrap: break-word; font-family: 宋体">{{oral.fdiToothCodes}}</span>                                        </td>                                        <td style="width:auto;font-size:15px;font-family: 宋体" ng-bind-html="oral.descriptionStr"></td>                                    </tr>                                </tbody>                            </table>                        </td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.radiologyCheckRecordList.length==0&& isDisableEMRBlankPrint)" style="margin-top:30px;">                        <td style="font-size:15px ;font-weight:400; width:120px;vertical-align: top; padding-top: 8px;font-family: 宋体">{{isEmrCustomTemplateEnabled?"X线检查示":"辅助检查"}}:</td>                        <td style="font-weight:400;">                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;" ng-repeat="rad in printCurrentMedicalRecord.radiologyCheckRecordList">                                        <td style="width: 130px; max-width: 130px; padding-top: 10px; padding-bottom: 30px; vertical-align: middle; " ng-if="rad.fdiToothCodesArray.length>0">                                            <span style=" display: block; white-space: pre-wrap; word-wrap: break-word;font-family: 宋体 ">{{rad.fdiToothCodes}}</span>                                        </td>                                        <td style="width:auto;font-size:15px;font-family: 宋体" ng-bind-html="rad.descriptionStr"></td>                                    </tr>                                </tbody>                            </table>                        </td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.associatedImageList.length === 0 && isDisableEMRBlankPrint)" style="margin-top:30px;">                        <td style="font-size:15px ;font-weight:400; width:120px;vertical-align: top; padding-top: 8px;font-family: 宋体">相关影像:</td>                        <td style="font-weight:400;">                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;">                                        <td>                                            <emr-medical-image-display-view current-value="printCurrentMedicalRecord.associatedImageList" is-print="true"></emr-medical-image-display-view>                                        </td>                                    </tr>                                </tbody>                            </table>                        </td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.diagnoseRecordList.length==0&& isDisableEMRBlankPrint)" style="margin-top:30px;">                        <td style="font-size:15px ;font-weight:400; width:120px;vertical-align: top; padding-top: 8px;font-family: 宋体">诊断:</td>                        <td style="font-weight:400;">                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;" ng-repeat="diag in printCurrentMedicalRecord.diagnoseRecordList">                                        <td style="width: 130px; max-width: 130px; padding-top: 10px; padding-bottom: 30px;vertical-align: middle; " ng-if="diag.fdiToothCodesArray.length>0">                                            <span style=" display: block; white-space: pre-wrap; word-wrap: break-word;font-family: 宋体 ">{{diag.fdiToothCodes}}</span>                                        </td>                                        <td style="width:auto;font-size:15px;font-family: 宋体" ng-bind-html="diag.diagnoseStr"></td>                                    </tr>                                </tbody>                            </table>                        </td>                    </tr>                    <tr ng-if="isDiseaseCertificateEnabled &&!(printCurrentMedicalRecord.treatmentAdviceList.length==0&& isDisableEMRBlankPrint)" style="margin-top:30px;">                        <td style="font-size:15px ;font-weight:400; width:120px;vertical-align: top; padding-top: 8px;font-family: 宋体">治疗建议:</td>                        <td style="font-weight:400;">                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;" ng-repeat="tr in printCurrentMedicalRecord.treatmentAdviceList">                                        <td style="width: 130px; max-width: 130px; padding-top: 10px; padding-bottom: 30px;vertical-align: middle; " ng-if="tr.fdiToothCodesArray.length>0">                                            <span style=" display: block; white-space: pre-wrap; word-wrap: break-word;font-family: 宋体 ">{{tr.fdiToothCodes}}</span>                                        </td>                                        <td style="width:auto;font-size:15px;font-family: 宋体" ng-bind-html="tr.contentStr"></td>                                    </tr>                                </tbody>                            </table>                        </td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.treatmentPlanList.length==0&& isDisableEMRBlankPrint)" style="margin-top:30px;">                        <td style="font-size:15px ;font-weight:400; width:120px;vertical-align: top; padding-top: 8px;font-family: 宋体">治疗方案:</td>                        <td style="font-weight:400;">                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;" ng-repeat="tr in printCurrentMedicalRecord.treatmentPlanList">                                        <td style="width: 130px; max-width: 130px; padding-top: 10px; padding-bottom: 30px;vertical-align: middle; " ng-if="tr.fdiToothCodesArray.length>0">                                            <span style=" display: block; white-space: pre-wrap; word-wrap: break-word;font-family: 宋体 ">{{tr.fdiToothCodes}}</span>                                        </td>                                        <td style="width:auto;font-size:15px;font-family: 宋体" ng-bind-html="tr.planContentStr"></td>                                    </tr>                                </tbody>                            </table>                        </td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.cureRecordList.length==0&& isDisableEMRBlankPrint)" style="margin-top:300px;">                        <td style="font-size:15px ;font-weight:400; width:120px;vertical-align: top; padding-top: 8px;font-family: 宋体">{{isEmrCustomTemplateEnabled?"处理":"处置"}}:</td>                        <td style="font-weight:400;">                            <table class=" table ">                                <tbody>                                    <tr style="vertical-align:top;" ng-repeat="cr in printCurrentMedicalRecord.cureRecordList">                                        <td style="width: 130px; max-width: 130px; padding-top: 10px; padding-bottom: 30px; vertical-align: middle; " ng-if="cr.fdiToothCodesArray.length>0">                                            <span style=" display: block; white-space: pre-wrap; word-wrap: break-word;font-family: 宋体 ">{{cr.fdiToothCodes}}</span>                                        </td>                                        <td style="width:auto;font-size:15px;font-family: 宋体" ng-bind-html="cr.cureStr"></td>                                    </tr>                                </tbody>                            </table>                        </td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.advice.length==0 && isDisableEMRBlankPrint)">                        <td style="font-size: 15px; font-weight: 400; width: 120px; vertical-align: top; padding-top: 8px; font-family: 宋体">医嘱:</td>                        <td style="font-weight:400;font-size:15px;font-family: 宋体" ng-bind-html="printCurrentMedicalRecord.advice"></td>                    </tr>                </table>                <table style="width:100%;margin-top:50px;">                    <tr>                        <td style="width: 50%;font-family: 宋体">医生签名：</td>                        <td style="width: 50%;font-family: 宋体">患者签名：</td>                    </tr>                </table>            </div>        </div>    </div>    <div ng-if="printTemplateConfig.templateCode ==\'A5EMRDiseaseProofTemplate1\'" id="A5EMRDiseaseProofTemplate1" name="A5EMRDiseaseProofTemplate1" style="width: 90%;">        <div id="templateBody" style="margin: 0px auto;">            <h2 style="text-align:center;padding:0;">{{office.name}}</h2>            <h1 style="text-align:center;padding:0;">诊断证明书</h1>            <div style="width: 100%;margin-top:10px;margin-bottom: 10px;border-bottom:1px solid black;border-top:1px solid black;" class="emrCustomTemplate" >                <table style="width:100%;font-size:15px ;">                    <tr>                        <td>                            <table style="width:100%;">                                <tr>                                    <td style="font-size:15px ; width:40%">                                        姓名：{{patient.name}}                                    </td>                                    <td style="font-size:15px ; width:25%">                                        性别：{{patient.sex|toSexString}}                                    </td>                                    <td style="font-size:15px ; ">                                        年龄：{{patient.age}}                                    </td>                                    <td style="font-size:15px ; ">                                        病历号：{{patient.privateId}}                                    </td>                                </tr>                            </table>                        </td>                    </tr>                </table>            </div>            <div style="border-bottom:1px solid black;">                <table style="width:100%;">                    <tr ng-if="!(printCurrentMedicalRecord.diagnoseRecordList.length==0&& isDisableEMRBlankPrint)">                        <td style="font-size:15px ; width:120px;vertical-align:top;">诊断:</td>                        <td style="">                            <table>                                <tbody>                                    <tr style="vertical-align:top;" ng-repeat="diag2 in printCurrentMedicalRecord.diagnoseRecordList">                                        <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="width:130px;padding-bottom:30px;border-top: 0px;font-size: 10px; font-family: 宋体;">                                            <div ng-if = "diag2.fdiToothCodes.length > 0">                                                  <ares-emr-tooth-selector selected-tooth-codes="diag2.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                            </div>                                        </td>                                        <td ng-if="allowToothFDI" style="word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;border-top: 0px;font-size: 10px;">                                             <div ng-if = "diag2.fdiToothCodes.length > 0">                                                <span ng-bind-html="diag2.fdiToothCodes|toToothFdiHtml"></span>                                             </div>                                        </td>                                        <td style="border-top: 0px;width:auto;font-size:14px;vertical-align:top;padding-bottom: 5px;" ng-bind-html="diag2.diagnose"></td>                                    </tr>                                </tbody>                            </table>                        </td>                    </tr>                    <tr ng-if="!(printCurrentMedicalRecord.treatmentAdviceList.length==0&& isDisableEMRBlankPrint)">                        <td style="font-size:15px ; width:120px;vertical-align:top;">治疗建议:</td>                        <td style="">                            <table>                                <tbody>                                    <tr style="vertical-align:top;" ng-repeat="tr in printCurrentMedicalRecord.treatmentAdviceList">                                        <td ng-if="!allowToothFDI" ng-style="{\'padding-top\':allowLittleToothPrint?\'0px\':\'10px\'}" style="border-top: 0px;width:130px;padding-bottom:30px;font-size: 10px; font-family: 宋体;">                                            <div ng-if = "tr.fdiToothCodes.length > 0">                                                <ares-emr-tooth-selector selected-tooth-codes="tr.fdiToothCodes" is-little-tooth-print="allowLittleToothPrint"></ares-emr-tooth-selector>                                            </div>                                        </td>                                        <td ng-if="allowToothFDI" style="border-top: 0px;word-break:break-all;word-wrap:break-word;width:130px;padding-top:auto;padding-bottom:30px;font-size: 10px;">                                             <div ng-if = "tr.fdiToothCodes.length > 0">                                                <span ng-bind-html="tr.fdiToothCodes|toToothFdiHtml"></span>                                             </div>                                        </td>                                        <td style="border-top: 0px;width:auto;font-size:14px;vertical-align:top;padding-bottom: 5px;" ng-bind-html="tr.content"></td>                                    </tr>                                </tbody>                            </table>                        </td>                    </tr>                </table>            </div>            <div  class="emrCustomTemplate">                <table style="width:100%;                ">                  <tbody>                    <tr>                        <td style="text-align:left;font-size: 14px; ">                            <span style="display: block;">注：1、 未盖门诊医务科专用章无效；</span>                            <span style="padding-left: 28px;display: block;">2、 涂改无效；</span>                            <span style="padding-left:28px;display: block;">3、 只做疾病证明,不做他用。</span>                        </td>                    </tr>                  </tbody>                </table>            </div>            <div  class="emrCustomTemplate" style="border-top:1px solid black;">                <table style="width:100%;">                    <tr>                        <td>                            <table style="width:100%;">                                <tr>                                   <td style="font-size:15px; width:20%;">科室：{{printCurrentMedicalRecord.department}}</td>                                    <td style="font-size:15px ;text-align:center">                                        医生：{{printCurrentMedicalRecord.doctorName}}                                    </td>                                    <td style="font-size:15px ;text-align:right;width:20%;">                                        日期：{{date | date:\'yyyy-MM-dd\'}}                                    </td>                                </tr>                            </table>                        </td>                    </tr>                </table>            </div>        </div>    </div>    <div ng-if="privateTemplate" id="{{privateTemplate.templateCode}}" style="display: none; " >        <emr-print-compile html-content="{{privateTemplate.printTemplate}}"></emr-print-compile>    </div></div>');templateCache.put('/app/emr/views/emr-custom-template-view.html','<div ares-modal-dragable ares-clean-kendo class="emr-custom-template">    <style scoped>        .emr-custom-template .btn-selected {            color: #333;            background-color: #e6e6e6;            border-color: #adadad;            box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);            filter: alpha(opacity=100);            opacity: 1;        }        .emr-custom-template .row > div {            box-sizing: border-box !important;        }        .emr-custom-template .color-red {            color: red;        }        .emr-custom-template .label-danger {            background-color: #d9534f !important;            margin-bottom: -15px !important;            margin-left: 10px !important;            float: none !important;        }        .emr-custom-template .document-upload {            border: 1px solid #00a8cb;            border-radius: 4px;            width: 85px;            height: 85px;            margin: 0 auto;            text-align: center;            padding-top: 20px;            color: #00a8cb;            cursor: pointer;            margin-top: 30px;        }        .emr-custom-template .document-item {            border: 1px solid #e3e3e3;            border-radius: 4px;            width: 85px;            height: 110px;            float: left;            text-align: center;            padding: 7px;            padding-top: 20px;            margin: 7px;            color: #00a8cb;            cursor: pointer;            background-color: #f7f7f7;        }        .emr-custom-template .selected-item {            border: 1px solid #00a8cb !important;            color: white !important;            background-color: #00a8cb !important;        }        .emr-custom-template .default-item {            color: #666a73 !important;            background-color: #f7f7f7 !important;        }            .emr-custom-template .default-item:hover {                border: 1px solid #00a8cb !important;                color: #00a8cb !important;            }        .appt-time-group .k-datepicker.k-header {           position: relative;           z-index:10;        }        .appt-time-group .k-timepicker.k-header{            position: relative;            width: 59px;            background-color: white;        }        .appt-time-group .k-timepicker .k-picker-wrap {           margin-left: 31px;        }         .appt-time-group .k-timepicker .k-picker-wrap .k-select{            border:0;        }    </style>    <div class="modal-header" style="border-radius: 5px 5px 0 0;padding: 8px 10px 5px 10px;color: white; height: 45px;background-color: #608FB7;text-align: left;">        <button type="button" class="close" ng-click="cancel()" aria-label="Close">            <span aria-hidden="true">&times;</span>        </button>        <h4 class="modal-title">选择定制病历</h4>    </div>    <div class="modal-body ares-dialog-body source-type" style="border-left:1px solid #e3e3e3;border-right:1px solid #e3e3e3;">        <div class="row" style="padding:5px;">            <form id="documentForm" name="documentForm" class="form-horizontal">                <div class="form-group" style="height: 35px;margin-left: 10px;">                    <label for="doctorName" style="width:95px;color:#999999;"><span class="glyphicon glyphicon-asterisk color-red"></span>医生:</label>                    <input id="doctor" name="doctorName" type="text" style="width:150px;">                    <label for="assistantName" style="margin-left:50px;width:60px;color:#999999;">护士:</label>                    <input id="nurse" name="assistantName" type="text" style="width:150px;">                </div>                <div class="form-group" style="height: 35px;margin-left: 10px;">                    <label style="width:95px;color:#999999;"><span class="glyphicon glyphicon-asterisk color-red"></span>类型:</label>                    <label class="radio-inline" style="padding-top:0">                        <input type="radio" name="firstVisit" ng-value="true" ng-model="isEmrFirstVisit">初诊病历                    </label>                    <label class="radio-inline" style="padding-top:0">                        <input type="radio" name="firstVisit" ng-value="false" ng-model="isEmrFirstVisit">复诊病历                    </label>                </div>                <div class="form-group" style="height: 35px;">                    <label for="apptTime" class="col-sm-2 control-label"><span class="glyphicon glyphicon-asterisk color-red"></span>就诊时间:</label>                    <div class="col-sm-10">                        <div class="form-group appt-time-group" style="padding-left: 15px;">                            <input id="appoint" type="text" class="form-control" style="width:200px;">                            <input id="datepicker" type="text" class="form-control" kendo-date-picker k-format="\'yyyy-MM-dd HH:mm\'" max="today" k-on-change="onApptTimeChanged(kendoEvent)" k-ng-model="defualtStartTime" style="width: 0px;">                            <input id="apptTimePicker" kendo-time-picker k-on-change="onTimePickerChanged(kendoEvent)" k-options="timePickerOption">                         </div>                    </div>                </div>                <div class="form-group" style="height: 35px;">                    <label class="col-sm-2 control-label"><span class="glyphicon glyphicon-asterisk color-red"></span>模板:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>                    <div class="col-sm-10">                        <div ng-style="{\'border\':errorMsg?\'1px solid #a94442\':\'none\'}" style="border-radius:4px;background:#f7f7f7;width:520px;padding:5px;float: left;margin-top: 10px;min-height:165px; max-height:265px;overflow:auto;">                            <div class="document-item" ng-class="{\'default-item\':template.id!=document.templateId,\'selected-item\':template.id==document.templateId}"                                 ng-repeat="template in templates" ng-click="selectedTemplate(template)">                                <span style="font-size:30px;" class="icon-doc"></span>                                <div style="overflow:hidden;height: 50px;font-size:12px;margin-top: 5px;">                                    {{template.name}}                                </div>                            </div>                        </div>                        <div>                            <label ng-show="errorMsg" style="color: #fff;background-color: #d9534f;border-radius:3px;margin-top: 5px;padding: 1px 5px 1px 5px;">{{errorMsg}}</label>                        </div>                    </div>                </div>            </form>        </div>    </div>    <div class="modal-footer" style="border:1px solid #e3e3e3;text-align: center;border-top: 0;border-radius: 0 0 5px 5px;">        <button type="button" class="btn btn-default" style="background-color:#00a8cb;color:white;" ng-click="saveValidate()">确定</button>&nbsp;&nbsp;&nbsp;        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/emr/views/emr-workflow-view.html','<div ares-modal-dragable ares-clean-kendo" class="patient-new-emr">    <style>        .patient-new-emr {            background: #ffffff;            box-shadow: 0 1px 4px 0 rgba(0,0,0,0.20);                        height: auto;        }        .border-right {            border-right: 1px solid #00A8CB;            color: #00A8CB;        }        .history-border-right {            border-right: 1px solid #9397A2;            color: #9397A2;        }        .border-bottom {            border-bottom: 1px solid #00A8CB;            color: #00A8CB;        }        .history-border-bottom {            border-bottom: 1px solid #9397A2;            color: #9397A2;        }        .border-top {            border-top: 1px solid #00A8CB;            color: #00A8CB;        }        .history-border-top {            border-top: 1px solid #9397A2;            color: #9397A2;        }        .default-font {            font-size: 14px;            color: #3d3d3d;            text-align: left;        }        .border-td {            border-bottom: 1px solid #D8E0E7;            padding-left: 10px;        }        .tooth-text {            width: 240px;            padding: 5px;            line-height: normal;            word-break: break-all;        }        .color-red {            color: red;        }        .patient-new-emr .work-flow-in-progress {            padding: 2px 5px;            background-color: yellow;        }        .patient-new-emr .work-flow-approved {            padding: 2px 5px;            background-color: green;        }        .patient-new-emr .work-flow-rejected {            padding: 2px 5px;            background-color: red;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="clean()">        <span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">病历详情</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding:0px 25px 20px 20px;margin-top:-21px;">        <div class="row" style="margin-top:20px;">            <div>                <table style="width: 100%;">                    <tr >                        <td>                            <table style="width: 100%;">                                <tr>                                    <td valign="top">                                        <div style="margin-left:5px;margin-top:15px;">                                            <table style="width:100%;border: 1px solid #D8E0E7;">                                                <tr >                                                    <td valign="top" colspan="2" style="padding: 5px;">                                                        <table style="width:100%;">                                                            <tr style="line-height: 40px;" ng-show="medicalRecord.ChiefComplaint">                                                                <td class="border-td">                                                                    <span style="font-weight:bold;">{{medicalRecord.FirstVisit?\'主诉\':\'复诊\'}}：</span><span class="default-font" ng-bind-html="medicalRecord.ChiefComplaint"></span>                                                                </td>                                                            </tr>                                                            <tr style="line-height: 40px;"  ng-show="medicalRecord.History">                                                                <td class="border-td">                                                                    <span style="font-weight:bold;">现病史：</span><span class="default-font" ng-bind-html="medicalRecord.History"></span>                                                                </td>                                                            </tr>                                                            <tr style="line-height: 40px;" ng-show="medicalRecord.PastHistory">                                                                <td class="border-td">                                                                    <span style="font-weight:bold;">既往史：</span><span class="default-font" ng-bind-html="medicalRecord.PastHistory"></span>                                                                </td>                                                            </tr>                                                            <tr style="line-height: 40px;" ng-show="medicalRecord.OralCheckRecordList.length>0">                                                                <td class="border-td">                                                                    <table>                                                                        <tr>                                                                            <td style="font-weight:bold;width:80px;">                                                                                {{isEmrCustomTemplateEnabled?"检查":"口腔检查"}}：                                                                            </td>                                                                            <td>                                                                                <table>                                                                                    <tr ng-repeat="oralCheck in medicalRecord.OralCheckRecordList">                                                                                        <td class="tooth-text" >                                                                                            <div style="padding-top: 5px;">                                                                                                <ares-emr-tooth-selector disable-btn="true" selected-tooth-codes="oralCheck.FdiToothCodes"></ares-emr-tooth-selector>                                                                                            </div>                                                                                        </td>                                                                                        <td class="tooth-text" ng-if="allowEditTooth" ng-show="allowToothFDI">                                                                                            {{oralCheck.FdiToothCodes|toToothStr}}                                                                                        </td>                                                                                        <td style="color:#9D9D9D;padding-left:10px;line-height: 15px;">                                                                                            <span class="default-font" ng-bind-html="oralCheck.Description"></span>                                                                                        </td>                                                                                    </tr>                                                                                </table>                                                                            </td>                                                                        </tr>                                                                    </table>                                                                </td>                                                            </tr>                                                            <tr style="line-height: 40px;" ng-show="medicalRecord.RadiologyCheckRecordList.length>0">                                                                <td class="border-td">                                                                    <table>                                                                        <tr>                                                                            <td style="font-weight:bold;width:80px;">                                                                                {{isEmrCustomTemplateEnabled?"X线检查示":"辅助检查"}}：                                                                            </td>                                                                            <td>                                                                                <table>                                                                                    <tr ng-repeat="radiologyCheckRecord in medicalRecord.RadiologyCheckRecordList">                                                                                        <td class="tooth-text" >                                                                                            <div style="padding-top: 5px;">                                                                                                <ares-emr-tooth-selector disable-btn="true" selected-tooth-codes="radiologyCheckRecord.FdiToothCodes"></ares-emr-tooth-selector>                                                                                            </div>                                                                                        </td>                                                                                        <td class="tooth-text" ng-if="allowEditTooth" ng-show="allowToothFDI">                                                                                            {{radiologyCheckRecord.FdiToothCodes|toToothStr}}                                                                                        </td>                                                                                        <td style="color:#9D9D9D;padding-left:10px;line-height: 15px;">                                                                                            <span class="default-font" ng-bind-html="radiologyCheckRecord.Description"></span>                                                                                        </td>                                                                                    </tr>                                                                                </table>                                                                            </td>                                                                        </tr>                                                                    </table>                                                                </td>                                                            </tr>                                                            <tr style="line-height: 40px;" ng-show="medicalRecord.DiagnoseRecordList.length>0">                                                                <td class="border-td">                                                                    <table>                                                                        <tr>                                                                            <td style="font-weight:bold;width:80px;">                                                                                诊断：                                                                            </td>                                                                            <td>                                                                                <table>                                                                                    <tr ng-repeat="diagnoseRecord in medicalRecord.DiagnoseRecordList">                                                                                        <td class="tooth-text" >                                                                                            <div style="padding-top: 5px;">                                                                                                <ares-emr-tooth-selector disable-btn="true" selected-tooth-codes="diagnoseRecord.FdiToothCodes"></ares-emr-tooth-selector>                                                                                            </div>                                                                                        </td>                                                                                        <td class="tooth-text" ng-if="allowEditTooth" ng-show="allowToothFDI">                                                                                            {{diagnoseRecord.FdiToothCodes|toToothStr}}                                                                                        </td>                                                                                        <td style="color:#9D9D9D;padding-left:10px;line-height: 15px;">                                                                                            <span class="default-font" ng-bind-html="diagnoseRecord.Diagnose"></span>                                                                                        </td>                                                                                    </tr>                                                                                </table>                                                                            </td>                                                                        </tr>                                                                    </table>                                                                </td>                                                            </tr>                                                            <tr style="line-height: 40px;" ng-show="isEmrCustomTemplateEnabled&&medicalRecord.treatmentAdviceList.length>0">                                                                <td class="border-td">                                                                    <table>                                                                        <tr>                                                                            <td style="font-weight:bold;width:80px;">                                                                                治疗建议：                                                                            </td>                                                                            <td>                                                                                <table>                                                                                    <tr ng-repeat="treatment in medicalRecord.TreatmentAdviceList">                                                                                        <td class="tooth-text" >                                                                                            <div style="padding-top: 5px;">                                                                                                <ares-emr-tooth-selector disable-btn="true" selected-tooth-codes="treatment.FdiToothCodes"></ares-emr-tooth-selector>                                                                                            </div>                                                                                        </td>                                                                                        <td class="tooth-text" ng-if="allowEditTooth" ng-show="allowToothFDI">                                                                                            {{treatment.FdiToothCodes|toToothStr}}                                                                                        </td>                                                                                        <td style="color:#9D9D9D;padding-left:10px;line-height: 15px;">                                                                                            <span class="default-font" ng-bind-html="treatment.Content"></span>                                                                                        </td>                                                                                    </tr>                                                                                </table>                                                                            </td>                                                                        </tr>                                                                    </table>                                                                </td>                                                            </tr>                                                            <tr style="line-height: 40px;" >                                                                <td class="border-td">                                                                    <table>                                                                        <tr>                                                                            <td style="font-weight:bold;width:80px;">                                                                                治疗方案：                                                                            </td>                                                                            <td>                                                                                <table>                                                                                    <tr ng-repeat="treatment in medicalRecord.TreatmentPlanList">                                                                                        <td class="tooth-text" ng-if="allowEditTooth" ng-show="allowToothFDI">                                                                                            <div style="padding-top: 5px;">                                                                                                <ares-emr-tooth-selector disable-btn="true" selected-tooth-codes="treatment.fdiToothCodes"></ares-emr-tooth-selector>                                                                                            </div>                                                                                        </td>                                                                                        <td class="tooth-text" >                                                                                            {{treatment.FdiToothCodes|toToothStr}}                                                                                        </td>                                                                                        <td style="color:#9D9D9D;padding-left:10px;line-height: 15px;">                                                                                            <span class="default-font" ng-bind-html="treatment.PlanContent"></span>                                                                                        </td>                                                                                    </tr>                                                                                </table>                                                                            </td>                                                                        </tr>                                                                    </table>                                                                </td>                                                            </tr>                                                            <tr style="line-height: 40px;" >                                                                <td class="border-td">                                                                    <table>                                                                        <tr>                                                                            <td style="font-weight:bold;width:80px;">                                                                                {{isEmrCustomTemplateEnabled?"处理":"处置"}}：                                                                            </td>                                                                            <td>                                                                                <table>                                                                                    <tr ng-repeat="cureRecord in medicalRecord.CureRecordList">                                                                                        <td class="tooth-text" >                                                                                            <div style="padding-top: 5px;">                                                                                                <ares-emr-tooth-selector disable-btn="true" selected-tooth-codes="cureRecord.fdiToothCodes"></ares-emr-tooth-selector>                                                                                            </div>                                                                                        </td>                                                                                        <td class="tooth-text" ng-if="allowEditTooth" ng-show="allowToothFDI">                                                                                            {{cureRecord.FdiToothCodes|toToothStr}}                                                                                        </td>                                                                                        <td style="color:#9D9D9D;padding-left:10px;line-height: 15px;">                                                                                            <span class="default-font" ng-bind-html="cureRecord.Cure"></span>                                                                                        </td>                                                                                    </tr>                                                                                </table>                                                                            </td>                                                                        </tr>                                                                    </table>                                                                </td>                                                            </tr>                                                            <tr style="line-height: 40px;" >                                                                <td class="border-td">                                                                    <table>                                                                        <tr>                                                                            <td style="font-weight:bold;width:80px;">                                                                                医嘱：                                                                            </td>                                                                            <td style="line-height: 15px; padding: 10px;">                                                                                <span style="color:#9D9D9D;"><span class="default-font" ng-bind-html="medicalRecord.Advice"></span></span>                                                                            </td>                                                                        </tr>                                                                    </table>                                                                </td>                                                            </tr>                                                            <tr style="line-height: 40px;" >                                                                <td style="padding-left:10px;">                                                                    <table>                                                                        <tr>                                                                            <td style="font-weight:bold;width:80px;">                                                                                备注：                                                                            </td>                                                                            <td style="line-height: 15px; padding: 10px;">                                                                                <span style="color:#9D9D9D;"><span class="default-font" ng-bind-html="medicalRecord.Comment"></span></span>                                                                            </td>                                                                        </tr>                                                                    </table>                                                                </td>                                                            </tr>                                                        </table>                                                    </td>                                                    <td valign="top" style="width:150px;font-weight:bold; padding-top: 10px;border-left: 1px solid #D8E0E7;">                                                        <p style="padding-left:10px;"> 医生：{{medicalRecord.DoctorName}}</p>                                                        <p style="padding-left:10px;"> 助手：{{medicalRecord.NurseName}}</p>                                                        <p style="padding-left:10px;"> 费用：{{medicalRecord.PlanPrice}}</p>                                                        <p style="padding-left:10px;"> 诊所：{{medicalRecord.officeName}}</p>                                                                                                            </td>                                                </tr>                                            </table>                                        </div>                                    </td>                                </tr>                            </table>                        </td>                    </tr>                </table>            </div>        </div>    </div>    <div class="modal-footer ares-dialog-footer" style="text-align:center;">        <button type="button" class="btn btn-default" ng-click="clean()">关闭</button>    </div></div>');templateCache.put('/app/emr/views/patient-emr-home-view.html','<div ui-view></div>');templateCache.put('/app/emr/views/patient-new-emr-edit-template-choice-view.html','<div class="emr-select-template" ares-clean-kendo>    <style type="text/css">    	.modal .modal-dialog.modal-sm{    		width: 820px !important;		    background-color: #fff;		    border: 1px solid #00A8CB;    	}    	.modal > .modal-dialog > .modal-content{    		border-radius: 5px !important;    	}		.emr-template-for-tree .big-template-body{			margin-top: 15px;		}		.emr-template-for-tree .emr-item-header.big-template-header{			background-color: #fff;			text-align: center;			height: 30px;			line-height: 30px;		}		.emr-template-for-tree .big-template-header .text{			color: #00A8CB;		}		.emr-template-for-tree .big-template-content{			margin-right: 20px;            -webkit-box-shadow: 1 3px 8px rgba(0, 0, 0, .5);            box-shadow: 1px 3px 8px rgba(0, 0, 0, .5);            border-radius: 3px;			position: relative;		}		.emr-template-for-tree .big-template-content .head-text{			height: 66px;			line-height: 66px;			text-align: center;			border-bottom: 1px solid #E3E3E3;			margin: 0 15px;			font-size: 16px;			font-weight: bold;		}		.emr-template-for-tree .big-template-content .template-type{			position: absolute;			right: 0;			top: 0;			z-index: 1;			padding: 6px 15px;			background-color: #00A8CB;			color: #fff;		}		.emr-template-for-tree .content{			max-height: 500px;			overflow-y: auto;		}		.emr-template-for-tree .content-li{			margin: 0 15px;			border-bottom: 1px dashed #F1F1F1;			padding: 10px 0;		}		.emr-template-for-tree .content-li .col-left{			text-align: right;			font-weight: bold;		}		.emr-template-for-tree .row.content-li .col-md-2,.row.content-li .col-md-10{			padding-left: 5px;			padding-right: 5px;		}		.emr-template-for-tree .template-btn{			text-align: center;			margin: 15px auto		}		.emr-template-for-tree .template-btn .btn-primary{			background-color: #00A8CB;			border-color: #00A8CB;		}		.emr-template-for-tree .template-btn .btn-primary:hover{			background-color: #0790ac;			border-color: #0790ac;		}		.emr-template-for-tree .template-btn .btn-primary[disabled=\'disabled\']{			background-color: #8b8b8b;			border-color: #8b8b8b;		}		.emr-template-for-tree .big-template-footer{			text-align: center;			color: #9DA1AB;			margin-top: 50px;			line-height: 30px;			border-top: 1px solid #E3E3E3;			cursor: pointer;		}		.emr-template-for-tree .show-grid{			padding-right: 1px;		}		.emr-template-for-tree .search-body{		    border: 1px solid #E3E3E3;		    border-radius: 2px;		    margin-left: 20px;		}		.emr-template-for-tree .search-body input{			border: none;			outline: none;			border-right: 1px solid #E3E3E3;		    padding: 5px 3px;		    width: 82%;		}		.emr-template-for-tree .search-body i{		    font-size: 16px;		    font-weight: normal;		    color: #989CA7;		    text-align: center;		    width: 12%;		}		.emr-template-for-tree .panel-body-template{			margin-top: 20px;			max-height: 515px;			overflow-y: auto;		}        .emr-template-for-tree .template-agreement {            text-align: center;            margin-top: 8px;        }    </style>    <div class="emr-template-body emr-template-for-tree">    	<div class="emr-item-header big-template-header">	        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>	        <div class="text">病历模板 <span><i class="fa fa-angle-up"></i></span></div>	    </div>		<div class="row big-template-body">	        <div class="col-md-3 show-grid">	        	<div class="show-grid-body">	        		<div class="search-body">		        		<input type="text" class="" ng-model="predicate" placeholder="目录名称"/>		        		<i class="fa fa-search"></i>		        	</div>		            <div class="panel-default">		                <div class="panel-body-template">		                    <div save-content="filtering-html">		                        <ares-tree-control tree-model="treeData"		                                     filter-expression="predicate"		                                     selected-node="selectedNode"		                                     on-selection="showSelected(node)"		                                     options="treeOpts"		                                     expanded-nodes="expandedNodes"		                                     filter-comparator="comparator">		                            {{node.itemName}}		                        </ares-tree-control>		                    </div>		                </div>		            </div>	            </div>	        </div>	        <div class="col-md-9">	            <div class="big-template-content">	            	<span class="template-type">{{layoutTemplate.templateName}}</span>	            	<h2 class="head-text" ng-bind="currentEmrTemplate.itemName"></h2>	            	<div class="content">	            		<div class="row content-li">	            			<div class="col-md-2 col-left"><span>{{currentMedicalRecord.firstVisit === false ?"复诊":"主诉"}}</span>：</div>	            			<div class="col-md-10" ng-bind="currentEmrTemplate.chiefComplaint"></div>	            		</div>	            		<div class="row content-li">	            			<div class="col-md-2 col-left"><span>现病史</span>：</div>	            			<div class="col-md-10" ng-bind="currentEmrTemplate.history"></div>	            		</div>	            		<div class="row content-li">	            			<div class="col-md-2 col-left"><span>既往史</span>：</div>	            			<div class="col-md-10" ng-bind="currentEmrTemplate.pastHistory"></div>	            		</div>	            		<div class="row content-li">	            			<div class="col-md-2 col-left"><span>{{isEmrCustomTemplateEnabled?"检查":"口腔检查"}}</span>：</div>	            			<div class="col-md-10" ng-bind="currentEmrTemplate.oralCheck"></div>	            		</div>	            		<div class="row content-li">	            			<div class="col-md-2 col-left"><span>{{isEmrCustomTemplateEnabled?"X线检查示":"辅助检查"}}</span>：</div>	            			<div class="col-md-10" ng-bind="currentEmrTemplate.otherCheck"></div>	            		</div>	            		<div class="row content-li">	            			<div class="col-md-2 col-left"><span>诊断</span>：</div>	            			<div class="col-md-10" ng-bind="currentEmrTemplate.diagnose"></div>	            		</div>	            		<div class="row content-li" ng-if="currentMedicalRecord.isShowTreatmentAdviceList">	            			<div class="col-md-2 col-left"><span>治疗建议</span>：</div>	            			<div class="col-md-10" ng-bind="currentEmrTemplate.treatmentAdvice"></div>	            		</div>	            		<div class="row content-li" ng-if="currentMedicalRecord.isShowTreatmentPlanList">	            			<div class="col-md-2 col-left"><span>{{isEmrCustomTemplateEnabled?"治疗方案":"治疗计划"}}</span>：</div>	            			<div class="col-md-10" ng-bind="currentEmrTemplate.treatmentPlan"></div>	            		</div>	            		<div class="row content-li">	            			<div class="col-md-2 col-left"><span>{{isEmrCustomTemplateEnabled?"处理":"处置"}}</span>：</div>	            			<div class="col-md-10" ng-bind="currentEmrTemplate.treatment"></div>	            		</div>	            		<div class="row content-li">	            			<div class="col-md-2 col-left"><span>医嘱</span>：</div>	            			<div class="col-md-10" ng-bind="currentEmrTemplate.advice"></div>	            		</div>                        <div class="template-agreement" ng-show="showExemptionAgreement">                            <input id="exemption-agreement-check" type="checkbox" class="enyo-checkbox"                                    ng-checked="agreeExemptionAgreement"                                   ng-click="onExemptionAgreementCheck()"/>                            <label class="enyo-checkbox-label" for="exemption-agreement-check">我已阅读并同意</label>                            <a ng-click="viewExemptionAgreement()">《e看牙电子病历模板免责协议》</a>                        </div>	            		<div class="template-btn">	            			<button type="button" ng-disabled="!agreeExemptionAgreement" ng-click="saveTemplate()" sensors-enabled="true" sensors-event-name="PatientNewEmrEditTemplateChoice" sensors-event-type="确定" class="btn btn-primary">确定</button>	            		</div>	            	</div>	            </div>	        </div>	    </div>	    <div class="big-template-footer" ng-click="close()">	    	<div class="text">收起病历模板 <span><i class="fa fa-angle-down"></i></span></div>	    </div>    </div></div>');templateCache.put('/app/emr/views/patient-new-emr-edit-view.html','<div class="ares-main-content emr-fixed-content emr-container-view" ares-clean-kendo="removeKendoPopups">    <div class="medical-record-all-head">        <table>            <tr>                <td class="title">                    <span>全部病历</span>                </td>                <td>                    <button class="btn btn-default" ares-authorize="patientMedicalRecord.create"                        ng-click="goToList(\'patientgeneralMedicalRecords.patientEmr.list\')" ares-not-archive>                        病历记录                    </button>                </td>            </tr>        </table>    </div>    <div class="row medical-record-all-body btline">        <div class="col-md-12">            <div>                <div class="form-group appt-time-group">                    <label class="label-left" style="margin-left:1em;">医生:</label>                    <input id="doctor" type="text" style="width:150px;">                    <label class="label-left" style="margin-left:1em;" ng-show="isShowSuperiorDoctor">上级医生:</label>                    <input id="superiorDoctor" type="text" style="width:150px;" ng-show="isShowSuperiorDoctor">                    <label class="label-left">护士:</label>                    <input id="nurse" type="text" style="width:150px;">                    <label class="label-left">就诊时间:</label>                    <label>                        <input id="appoint" type="text" class="form-control" style="width:200px;">                    </label>                    <input id="datepicker" type="text" ng-show="!isStrongStrict" class="form-control" kendo-date-picker                        k-format="\'yyyy-MM-dd HH:mm\'" max="today" k-on-change="onApptTimeChanged(kendoEvent)"                        k-ng-model="appt.startTime" style="width: 0px;">                    <input id="timepicker" kendo-time-picker ng-show="!isStrongStrict"                        k-on-change="onTimePickerChanged(kendoEvent)" k-options="timePickerOption">                </div>                <div class="form-group">                    <label class="label-left" style="margin-left:1em;">类型:</label>                    <label class="radio-inline" ng-repeat="item in availableLayoutTemplates">                        <input type="radio" name="templateType" ng-value="item.templateCode"                            ng-model="currentMedicalRecord.layoutTemplateCode"                            ng-click="setLayoutTemplate(item)">{{item.templateName}}                    </label>                    <!--<label class="radio-inline second-emr" ng-show="officeEmrSetings.emrConfig.secondEmr">-->                    <!--<input type="radio" name="firstVisit" ng-value="false" ng-model="currentMedicalRecord.firstVisit" ng-click="setFirstTemplate(0)">复诊病历-->                    <!--</label>-->                </div>            </div>        </div>    </div>    <div class="medical-record-all-body">        <div class="medical-record-edit__left-col" ng-show="!smallLayOut">            <div class="emr-category" fixed-to-top="emr-category-fixed">                <ul>                    <li ng-repeat="parentField in emrTemplateFieldsArray track by $index">                        <div class="parent-category" ng-click="changeCategory(parentField,$index)">                            <i class="iconfont"                                ng-class="parentField.newItem === parentField.parent ? \'icon-xiangyouguanbi\' : \'icon-xiangxiazhankai\'"></i>                            <span>{{parentField.parent | emrTemplateFieldsStr}}</span>                        </div>                        <ul class="sub-category" ng-hide="parentField.newItem === parentField.parent">                            <li ng-repeat="sub in parentField.child track by $index">                                <span ng-click="scrollIntoView(sub)" ng-if="sub === \'chiefComplaint\'">                                    {{currentMedicalRecord.firstVisit === false ? "复诊":"主诉"}}                                </span>                                <span ng-click="scrollIntoView(sub)" ng-if="sub !== \'chiefComplaint\'">                                    {{ isEmrCustomTemplateEnabled ? (sub | emrCustomTemplateFieldsStr) : (sub | emrTemplateFieldsStr) }}                                </span>                            </li>                        </ul>                    </li>                </ul>            </div>        </div>        <div class="medical-record-edit__right-col">            <table style="width:100%;">                <tr>                    <td>                        <div class="medical-record-text-body">                            <table style="width:100%;">                                <tr class="large-formwork" ng-if="isShowEmrTemplateHref">                                    <td class="large-formwork-btn" ng-click="selectTemplate()">                                        <span>病历模板</span> <i class="fa fa-angle-down"></i>                                    </td>                                </tr>                                <tr ng-if="templateDesc">                                    <td style="padding: 10px 0; color: #f7a51d;">注意事项：{{templateDesc}}</td>                                </tr>                                <tr>                                    <td>                                        <div id="customizeMedicalRecord" class="medical-record-text-body">                                        </div>                                    </td>                                </tr>                            </table>                            <div class="medical-record-btn">                                <button class="btn btn-primary" ng-click="saveEmr()"                                    ng-disabled="currentMedicalRecord.workflowStatus == 1">保存</button>                                <button class="btn btn-primary" ng-click="saveEmr(true)">完成治疗</button>                                <button class="btn btn-primary" sensors-enabled="true"                                    sensors-event-name="PatientNewEmrEdit" sensors-event-type="打印"                                    ng-disabled="disablePrint()" ng-click="print();">打印</button>                                <button class="btn btn-primary" sensors-enabled="true"                                    sensors-event-name="PatientNewEmrEdit" sensors-event-type="打印模板配置"                                    ng-click="toPrint()">打印模板配置</button>                                <button type="button" sensors-enabled="true" sensors-event-name="PatientNewEmrEdit"                                    sensors-event-type="另存为模板" class="btn btn-primary"                                    ng-click="showSaveEMRTemplateDlg()">另存为模板</button>                                <button type="button" sensors-enabled="true" sensors-event-name="PatientNewEmrEdit"                                    sensors-event-type="清空病历" class="btn btn-primary" ng-click="clear()">清空病历</button>                                <button type="button" sensors-enabled="true" sensors-event-name="PatientNewEmrEdit"                                    sensors-event-type="发送到微信" ng-show="currentMedicalRecord.id> 0&&enableWeixinSendEmr"                                    class="btn btn-primary" ng-click="sendWeixinMedicalRecord()"                                    ng-disabled="currentMedicalRecord.id == 0 ||currentMedicalRecord.id> 0&&isChanged">发送到微信</button>                                <button class="btn btn-default" sensors-enabled="true"                                    sensors-event-name="PatientNewEmrEdit" sensors-event-type="取消"                                    ng-click="goToList(\'patientgeneralMedicalRecords.patientEmr.list\')">取消</button>                            </div>                        </div>                    </td>                </tr>            </table>        </div>    </div>    <new-emr-print-template></new-emr-print-template>    <popup-flyout-host></popup-flyout-host></div>');templateCache.put('/app/emr/views/patient-new-emr-exemption-agreement-view.html','<div ares-clean-kendo class="enyo" id="patient-emr-template-exemption-agreement">    <style scoped>        #patient-emr-template-exemption-agreement .align-center {            text-align: center;        }        #patient-emr-template-exemption-agreement .align-right {            text-align: right;        }            #patient-emr-template-exemption-agreement .enyo-modal-content {                height: 600px;                overflow-y: scroll;                padding: 30px 70px;            }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-content">            <h2 class="align-center">e看牙电子病历模板免责协议</h2>            <h3>一、用户须知</h3>            <p>上海领健信息技术有限公司（以下简称“本产品”或“e看牙”）在此特别提醒用户（您）在使用领健e看牙预置项目及模板服务之前，请认真阅读本《e看牙电子病历模板免责协议》（以下简称“协议”），确保您充分理解本协议中各项条款。请您审慎阅读并选择接受或不接受本协议，一旦您点击“接受”或具有相近意义的其他按钮，即表示您已经阅读、理解并同意本协议的全部条款，您使用病历模板行为将视为接受本协议的约束，即意味着您已经与e看牙签订了一份具有法律效力的协议。</p>            <p>e看牙保留在任何时候对本协议的个别或全部部分进行更新的权利，新协议一旦公布即代替之前的版本并生效，如果您不同意本产品更新的协议，有权停止服务。如果您继续使用，则视为接受新协议。</p>            <h3>二、服务介绍</h3>            <p>本协议是您与e看牙关于使用e看牙预置项目及模板服务所订立的协议，e看牙是病历模板服务提供商，e看牙预置项目及模板服务结合口腔临床的病历书写现状，提供多个病历内容模板，这些模板旨在节省用户录入时间、提升录入效率。</p>            <h3>三、用户使用规范</h3>            <p>在使用e看牙预置项目及模板服务前您需要按照相关提示进行注册，本产品将给予您一个帐号及相应的密码，该账号的所有权归e看牙所有，您仅获得该账号的使用权，不得赠与、借用、租用、转让、出售或以其他方式许可他人使用您的账号。</p>            <p>您如需使用系统预置项目及模板服务，请慎重辨别这些内容的准确性，并采取谨慎的检查措施，根据患者实际情况对模板内容进行一定程度的修改或优化；</p>            <p>如您不确定模板内容是否准确，领健建议您先咨询专业人士，并完成修改、检查；</p>            <p>一旦您保存病历，之后产生针对病历内容的专业性、准确性、合规性等问题，由您本人或者单位承担，领健概不负责。</p>            <p>您与e看牙签订《e看牙电子病历模板免责协议》时请确保已年满18周岁，并具有独立签订协议的民事行为能力，在国家法律、法规和本产品相关规定及各种社会公共利益或公共道德约束下使用e看牙预置项目及模板服务，您应当对以其用户帐号进行的所有活动和事件承担法律责任。</p>            <h3>四、使用限制</h3>            <p>您应当严格遵守用户使用规范的相关规定，不得使用e看牙预置项目及模板服务的内容素材用于违法行为或其它非法目的。</p>            <p>您不得利用这些内容素材丑化、诽谤、恶意抹黑e看牙以及其他机构形象，或用于危害社会，侵蚀道德风尚，宣传不法宗教组织等内容。</p>            <p>未经法律允许或e看牙书面许可，您不得在有以下行为：</p>            <p>1．对病历模板的内部数据进行反向编译、抓包分析或以其他方式记录、分析数据、架构与源代码；</p>            <p>2．析取、修改或伪造病历模板的数据，使用插件、外挂或其他第三方工具变动病历模板运行效果，或将以上行为对外公开传播，无论是否是商业行为；</p>            <p>3．对e看牙所拥有的的知识产权内容进行使用、出租、复制、修改、转载、发表、出版、生成链接、建立镜像点等；</p>            <p>4．其他干扰e看牙预置项目及模板服务正常运营和侵犯其他用户或第三方合法权益的行为。</p>            <h3>五、本产品权利义务</h3>            <p>e看牙将完全按照发布的e看牙电子病历模板免责协议提供服务，有权根据政策调整及经营策略上的变化调整业务方向，无需向您得到同意即可变更所提供服务的内容。</p>            <p>e看牙有义务提高您的体验及产品服务，将及时解决您提出的不满事宜，如在解决过程中确有难处，可以采取公开通知方式或向您发送电子邮件寻求解决办法。</p>            <h3>六、免责条款</h3>            <p>您应当理解并同意，e看牙所展示的服务是以现有技术和素材原状提供的，由于您对本服务未尽了解或理解错误造成的损失不承担法律责任。</p>            <p>您应当理解并同意,如果您无法判断病历模板内容是否准确，您有义务咨询专业人士的意见，并基于病历模板内容进行修改、优化，由此产生的索赔、要求或损失，您应当独立承担责任；e看牙因此遭受损失的，您应当一并赔偿。</p>            <p>您应当理解并同意，e看牙不担保所提供的服务完全符合您的需要，对于可能带来的风险，不对其内容的准确性、真实性、正当性、合法性负责，包括但不限于：</p>            <p>1. 使用本服务过程中受到，遭人误导或理解错误导致或可能导致的任何心理、生理上的伤害以及其他经济损失；</p>            <p>2. 使用过程中造成的个人隐私泄露或其他信息安全风险；</p>            <p>您应当理解并同意，e看牙不能随时预见和防范法律法规、技术以及其他风险，包括但不限于不可抗力、第三方瑕疵、黑客攻击、系统不稳定等可能导致服务中断、数据丢失以及其他的损失与风险。</p>            <p>e看牙依据协议约定取得处理违法违规行为的权利，但不构成义务或承诺，有权利但没有义务及时发现违法行为或进行处理。</p>            <h3>七、知识产权声明</h3>            <p>e看牙是e看牙预置项目及模板服务的知识产权权利人。该服务的一切知识产权以及与本软件相关的所有信息内容（包括但不限于文字、图片、界面设计、版面框架、有关数据或电子文档等）均受中华人民共和国法律法规和相应的国际条约保护，e看牙享有上述知识产权，但相关权利人依照法律规定应享有的权利除外。</p>            <p>未经e看牙或相关权利人书面同意，您不得为任何商业或非商业目的自行或许可任何第三方实施、利用、转让上述知识产权，也不得以任何形式进行或创造相关衍生作品。</p>            <h3>八、服务变更、中断、终止</h3>            <p>e看牙可能会对服务内容进行变更，也可能会中断、中止或终止服务。如因系统维护或升级的需要而需暂停服务，将尽可能事先进行通告；</p>            <p>如发生下列任何一种情形，e看牙有权随时中断或终止向您提供本协议项下的服务而无需通知：</p>            <p>1.违反国家法律法规或本协议中规定的使用规则；</p>            <p>2.依据法律规定或主管部门的要求；</p>            <p>3.为安全性考虑或处于其他必要紧急的情形。</p>            <h3>九、补充说明</h3>            <p>本协议自发布之日起生效，直至e看牙决定终止此协议或协议更新后终止。</p>            <p>本协议签订地为中华人民共和国上海市。</p>            <p>本协议的成立、生效、履行、解释及纠纷解决，适用中华人民共和国大陆地区法律（不包括冲突法）。</p>            <p>若您和本产品发生任何纠纷或争议，首先应友好协商解决；协商不成的，您同意将纠纷或争议提交本协议签订地有管辖权的人民法院管辖。</p>            <p>本协议所有条款的标题仅为阅读方便，本身并无实际涵义，不能作为本协议涵义解释的依据。</p>            <p>本协议条款无论因何种原因部分无效或不可执行，其余条款仍有效，对双方具有约束力。</p>            <p class="align-right">上海领健信息技术有限公司</p>            <p class="align-right">2019年11月22日</p>            <div class="align-center">                <button class="btn btn-primary" ng-click="close()">我已阅读</button>            </div>        </div>    </div></div>');templateCache.put('/app/emr/views/patient-new-emr-template-save-disease-choice.html','<div ares-modal-dragable id="templateSaveDiseaseChoiceModalDlg" ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">选择模板类别</h4>    </div>    <div class="modal-body ares-dialog-body">        <ares-tree-control tree-model="treeData"                      filter-expression="predicate"                      selected-node="selectedNode"                      on-branch-selected="selectNode(node)"                      options="treeOpts"                      expanded-nodes="expandedNodes"                      filter-comparator="comparator">            {{node.itemName}}        </ares-tree-control>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>        <button type="button" class="btn btn-primary" ng-click="close()" ng-disabled="templateDiseaseNotChosen">确定</button>    </div></div>');templateCache.put('/app/emr/views/patient-new-emr-template-save.html','<div ares-modal-dragable id="templateSaveModalDlg" ares-clean-kendo>    <style>        #templateSaveModalDlg textarea {            max-width: 450px;        }        #templateDropDown-list .k-group-header:first-child {            display: none !important;        }        #templateSaveModalDlg .chosen-disease-breadcrumb {            display: inline-block;            padding-top: 7px;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">病历模板保存</h4>    </div>    <div class="modal-body ares-dialog-body">        <form name="templateSaveForm" novalidate class="form-horizontal">            <div class="form-group">                <label class="col-xs-2 control-label">模板类别:</label>                <span class="chosen-disease-breadcrumb">{{currentEMRTemplateDiseaseBreadcrumb}}</span>                <button class="btn btn-default btn-sm" ng-click="showDiseaseChoiceDlg()">点击选择</button>            </div>            <div class="form-group">                <label for="templateName" class="col-xs-2 control-label">模板名称:</label>                <input class="form-control" ng-model="currentEMRTemplate.templateName" required style="width:260px;" />            </div>            <div class="form-group">                <label for="chiefComplaint" class="col-xs-2 control-label">主诉:</label>                <textarea class="form-control" ng-model="currentEMRTemplate.chiefComplaint" rows="1"></textarea>            </div>            <div class="form-group">                <label for="history" class="col-xs-2 control-label">现病史:</label>                <textarea class="form-control" ng-model="currentEMRTemplate.history" rows="1"></textarea>            </div>            <div class="form-group">                <label for="pastHistory" class="col-xs-2 control-label">既往史:</label>                <textarea class="form-control" ng-model="currentEMRTemplate.pastHistory" rows="1"></textarea>            </div>            <div class="form-group">                <label class="col-xs-2 control-label">{{isEmrCustomTemplateEnabled?"检查":"口腔检查"}}:</label>                <textarea class="form-control" ng-model="currentEMRTemplate.oralCheck" rows="2"></textarea>            </div>            <div class="form-group">                <label class="col-xs-2 control-label"> {{isEmrCustomTemplateEnabled?"X线检查示":"辅助检查"}}:</label>                <textarea class="form-control" ng-model="currentEMRTemplate.otherCheck" rows="2"></textarea>            </div>            <div class="form-group">                <label class="col-xs-2 control-label">诊断:</label>                <textarea class="form-control" ng-model="currentEMRTemplate.diagnose" rows="1"></textarea>            </div>            <div class="form-group">                <label class="col-xs-2 control-label">治疗建议:</label>                <textarea class="form-control" ng-model="currentEMRTemplate.treatmentAdvice" rows="1"></textarea>            </div>            <div class="form-group">                <label class="col-xs-2 control-label">治疗方案:</label>                <textarea class="form-control" ng-model="currentEMRTemplate.treatmentPlan" rows="1"></textarea>            </div>            <div class="form-group">                <label class="col-xs-2 control-label">{{isEmrCustomTemplateEnabled?"处理:":"处置:"}}</label>                <textarea class="form-control" ng-model="currentEMRTemplate.treatment" rows="3"></textarea>            </div>            <div class="form-group">                <label class="col-xs-2 control-label">医嘱:</label>                <textarea class="form-control" ng-model="currentEMRTemplate.advice" rows="1"></textarea>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>        <button type="button" class="btn btn-primary" ng-click="ok()" ng-disabled="templateSaveForm.$invalid">保存</button>    </div></div>');templateCache.put('/app/emr/views/patient-new-emr-view.html','<div class="ares-main-content patient-new-emr" ares-clean-kendo style="padding:10px;">    <style>        .border-right {            border-right: 1px solid #00A8CB;            color: #00A8CB;        }        .history-border-right {            border-right: 1px solid #9397A2;            color: #9397A2;        }        .border-bottom {            border-bottom: 1px solid #00A8CB;            color: #00A8CB;        }        .history-border-bottom {            border-bottom: 1px solid #9397A2;            color: #9397A2;        }        .border-top {            border-top: 1px solid #00A8CB;            color: #00A8CB;        }        .history-border-top {            border-top: 1px solid #9397A2;            color: #9397A2;        }        .default-font {            font-size: 14px;            color: #3d3d3d;            text-align: left;        }        .border-td {            border-bottom: 1px solid #D8E0E7;            padding-left: 10px;        }        .tooth-text {            width: 240px;            padding: 5px;            line-height: normal;            word-break: break-all;        }        .color-red {            color: red;        }        .patient-new-emr .work-flow-in-progress {            padding: 2px 5px;            color: black;            background-color: yellow;        }        .patient-new-emr .work-flow-approved {            padding: 2px 5px;            color: black;            background-color: #2ff707;        }        .patient-new-emr .work-flow-rejected {            padding: 2px 5px;            color: black;            background-color: red;        }        .medical-record-text-body .emr-chief-complaint .emr-field-content textarea,        .medical-record-text-body .emr-history .emr-field-content textarea,        .medical-record-text-body .emr-past-history .emr-field-content textarea,        .medical-record-text-body .emr-advice .emr-field-content textarea,        .medical-record-text-body .emr-comment .emr-field-content textarea {            margin: 0 39px;            width: 91%;            min-width: 91%;            height: auto;        }        .medical-record-text-body .emr-oral-check-records .emr-field-content textarea,        .medical-record-text-body .emr-cure-records .emr-field-content textarea,        .medical-record-text-body .emr-diagnose-records .emr-field-content textarea,        .medical-record-text-body .emr-radiology-check-records .emr-field-content textarea,        .medical-record-text-body .emr-treatment-advices .emr-field-content textarea,        .medical-record-text-body .emr-treatment-plans .emr-field-content textarea {            margin: 0 0;            width: 96%;            min-width: 96%;            height: auto;        }        .medical-record-text-body label {            margin: 0;        }        .medical-record-text-body .medical-record-content > div {            border-bottom: 1px solid #D8E0E7;            padding: 10px;        }        .medical-record-text-body .emr-level-0-group-title,        .medical-record-text-body .emr-level-0-title {            display: table-cell;            width: 80px;            vertical-align: middle;        }        .medical-record-text-body .emr-level-0-group-content,        .medical-record-text-body .emr-level-0-content {            display: table-cell;        }        .medical-record-text-body .emr-level-1-group-content,        .medical-record-text-body .emr-level-2-group-content,        .medical-record-text-body .emr-level-3-group-content {            padding: 12px 12px;        }        .medical-record-text-body .emr-level-1-title,        .medical-record-text-body .emr-level-2-title,        .medical-record-text-body .emr-level-3-title {            vertical-align: top;            display: table-cell;            min-width: 50px;        }        .medical-record-text-body .emr-level-1-content,        .medical-record-text-body .emr-level-2-content,        .medical-record-text-body .emr-level-3-content {            vertical-align: top;            display: table-cell;        }    </style>    <div>        <table>            <tr style="height:50px;">                <td>                    <!--<ares-tooth-selector popover-placement="bottom" selected-tooth-codes="searchCriteria.toothArray"></ares-tooth-selector>-->                    <ares-emr-tooth-selector hide-sides="true" selected-tooth-codes="searchCriteria.toothArray" parent-selector="table"></ares-emr-tooth-selector>                </td>                <td style="padding-left:10px;padding-right:10px;">                    <input type="text" class="form-control" ng-model="searchCriteria.text" style="width:200px;" />                </td>                <td>                    <button class="btn btn-default" ng-click="search()"><span class="glyphicon glyphicon-search"></span>&nbsp;查询</button>                </td>            </tr>        </table>    </div>    <div style="border:1px solid rgba(197,200,208,0.50);padding:10px;border-radius:4px 4px 0px 0px;            background-color:#ecf0f6;margin-left: -5px;margin-right: -5px;">        <table style="width:100%;">            <tr>                <td style="font-size:16px;font-weight:bold;width:100px;">                    <span>全部病历&nbsp;&nbsp;｜</span>                </td>                <td>                    <select kendo-drop-down-list="" k-on-change="onArchiveSelected(kendoEvent)" k-data-text-field="\'name\'" k-data-value-field="\'name\'" k-data-source="archives"></select>                </td>                <td style="text-align:right;">                    <button ng-click="printAll(redcordIds)" class="btn btn-primary" style="padding: 3px 6px 3px 6px;" ng-show="!printTemplateConfig.isHide">                        打印所有病历                    </button>                    <button class="btn btn-primary" style="padding: 3px 6px 3px 6px;"                            ares-authorize="patientMedicalRecord.create"                            sensors-enabled="true" sensors-event-name="PatientNewEmr" sensors-event-type="新建病历"                            ng-click="switchState(\'patientgeneralMedicalRecords.patientEmr.edit\')" ares-not-archive>                        新建病历                    </button>                    <button class="btn btn-primary" style="padding: 3px 6px 3px 6px;"                            ng-show="isShowCustomBtn"                            ares-authorize="patientMedicalRecord.create"                            sensors-enabled="true" sensors-event-name="PatientNewEmr" sensors-event-type="新建定制病历"                            ng-click="createCustomEmr()" ares-not-archive>                        新建定制病历                    </button>                </td>            </tr>        </table>    </div>    <div ng-if="searchCount>0">        您搜寻的关键字相关病历有<span class="color-red">{{searchCount}}</span>个    </div>    <div class="row" style="margin-top:20px;margin-bottom:50px;">        <div>            <table style="width: 100%;">                <tr ng-repeat="medicalRecord in medicalRecords">                    <td>                        <table style="width: 100%;">                            <!-- 日历icon,年份折叠btn -->                            <tr ng-show="medicalRecord.dateStr!=null">                                <td colspan="2" style="width:100px;">                                    <!-- 日历icon -->                                    <div ng-style="{\'background-color\':medicalRecord.color}" style="border-radius:20px;height:26px;width:26px;padding-top: 4px;padding-left: 5px;margin-left: 54px;">                                        <span class="icon-calendar" style="color:white;margin-left: 3px;"></span>                                    </div>                                </td>                                <td>                                    <!-- 年份折叠btn -->                                    <span style="font-weight:bold;font-size:16px;" ng-style="{\'color\':medicalRecord.color}">{{medicalRecord.dateStr}}</span>                                    <span ng-show="medicalRecord.tagCount>0" style="font-weight:bold;font-size:16px;" ng-style="{\'color\':medicalRecord.color}">({{medicalRecord.tagCount}})</span>                                    <button ng-click="onToggleEmr(medicalRecord)" class="btn btn-xs btn-default" ng-style="{\'color\':medicalRecord.color,\'border-color\':medicalRecord.color}" style="padding: 0 3px;">                                        <span class="glyphicon" ng-class="{\'glyphicon-triangle-top\':!medicalRecord.isHide,\'glyphicon-triangle-bottom\':medicalRecord.isHide}"></span>                                    </button>                                </td>                            </tr>                            <!-- 时间轴线上 -->                            <tr ng-hide="medicalRecord.isHideTimeLine">                                <td class="border-right border-bottom" ng-class="{\'history-border-right\': medicalRecord.color==\'#9397A2\',\'history-border-bottom\':medicalRecord.color==\'#9397A2\'}" style="height:20px;width:70px;"></td>                                <td class="border-bottom" ng-class="{\'history-border-bottom\':medicalRecord.color==\'#9397A2\'}" style="width:50px;"></td>                                <td class="border-bottom" ng-class="{\'history-border-bottom\':medicalRecord.color==\'#9397A2\'}" ng-show="medicalRecord.isHide"></td>                                <td ng-show="!medicalRecord.isHide"></td>                            </tr>                            <!-- 病历内容 -->                            <tr ng-hide="medicalRecord.isHide">                                <!-- 时间轴线中 start -->                                <td ng-show="!medicalRecord.isShowDetail" colspan="2" class="border-bottom" ng-class="{\'history-border-bottom\':medicalRecord.color==\'#9397A2\'}" style="width:100px;line-height:50px;">                                    {{medicalRecord.startTimeStr}}                                </td>                                <td valign="top" ng-show="medicalRecord.isShowDetail" colspan="2" style="width:100px;line-height:50px;">                                    <table style="width:100%;">                                        <tr>                                            <td colspan="2" style="line-height: 85px;" ng-style="{\'color\':medicalRecord.color}">                                                {{medicalRecord.startTimeStr}}                                            </td>                                        </tr>                                        <tr ng-style="{\'height\':medicalRecord.detailHeight}">                                            <td class="border-top border-right" ng-class="{\'history-border-top\':medicalRecord.color==\'#9397A2\',\'history-border-right\':medicalRecord.color==\'#9397A2\'}" style="width:70px;"></td>                                            <td class="border-top" ng-class="{\'history-border-top\':medicalRecord.color==\'#9397A2\'}"></td>                                        </tr>                                    </table>                                </td>                                <!-- 时间轴线中 end -->                                <!-- 病历内容摘要、明细 -->                                <td valign="top">                                    <div style="margin-left:5px;" id="mid{{medicalRecord.medicalRecordId}}">                                        <table style="width:100%;border: 1px solid #D8E0E7;">                                            <!-- 摘要 start -->                                            <tr style="background-color: #EBFAFF;line-height: 40px;">                                                <td style="color:#9D9D9D;border: 1px solid #D8E0E7;border-right:0;padding-left:10px;">                                                    <span class="work-flow-in-progress" ng-if="medicalRecord.workflowStatus&&medicalRecord.workflowStatus == 1" style="margin-right:5px;">待审批</span>                                                    <span class="work-flow-approved" ng-if="medicalRecord.workflowStatus&&medicalRecord.workflowStatus == 2" style="margin-right:5px;">审批通过</span>                                                    <span class="work-flow-rejected" ng-if="medicalRecord.workflowStatus&&medicalRecord.workflowStatus == 3" style="margin-right:5px;">审批拒绝</span>                                                    <span class="default-font" ng-bind-html="medicalRecord.title"></span>                                                </td>                                                <td style="width:50px;color:#00A8CB;text-align: center;border: 1px solid #D8E0E7;border-left:0;cursor:pointer;" ng-click="showDetail(medicalRecord,$event)">                                                    详情<span style="font-size: 12px;" class="glyphicon" ng-class="{\'glyphicon-triangle-bottom\':medicalRecord.isShowDetail,\'glyphicon-triangle-right\':!medicalRecord.isShowDetail}"></span>                                                </td>                                                <td style="width:150px;color:#00A8CB;text-align: center;border: 1px solid #D8E0E7;">                                                    <a href="" style="color:#00A8CB;" ng-click="editEMR(medicalRecord);" ng-show="!medicalRecord.workflowStatus">                                                        编辑                                                    </a>                                                    &nbsp; &nbsp;                                                    <a href="" style="color:#00A8CB;" ng-click="deleteEMR(medicalRecord,$index);" ng-show="!medicalRecord.workflowStatus">                                                        删除                                                    </a>                                                </td>                                            </tr>                                            <tr style="line-height: 40px;" ng-show="!medicalRecord.isShowDetail">                                                <td colspan="2" style="border: 1px solid #D8E0E7;padding-left:10px;">                                                    <span style="font-weight:bold;">{{medicalRecord.name}}</span>                                                    <span class="default-font" ng-bind-html="medicalRecord.content"></span>                                                </td>                                                <td style="width:100px;color:#9D9D9D;text-align: center;border: 1px solid #D8E0E7;"><span class="default-font" ng-if="medicalRecord.instructorName">实习医生：{{medicalRecord.doctorName}}</span><span class="default-font" ng-if="!medicalRecord.instructorName">医生：{{medicalRecord.doctorName}}</span></td>                                            </tr>                                            <!-- 摘要 end -->                                            <!--病历明细 start -->                                            <tr class="{{medicalRecord.className}}" ng-show="medicalRecord.isShowDetail">                                                <td valign="top" colspan="2" style="padding: 5px;">                                                    <table style="width:100%;">                                                        <tr>                                                            <td class="medical-record-text-body">                                                                <emr-display-host-view medical-record="medicalRecord"                                                                                       is-emr-custom-template-enabled="isEmrCustomTemplateEnabled"                                                                                       allow-tooth-fdi="allowToothFDI"                                                                                       allow-edit-tooth="allowEditTooth"></emr-display-host-view>                                                            </td>                                                        </tr>                                                        <tr style="line-height: 40px;">                                                            <td style="padding-left:10px;text-align:center;">                                                                <button type="button" class="btn btn-default" ng-click="print(medicalRecord.id)" ng-show="!printTemplateConfig.isHide && medicalRecord.workflowStatus != 1">打印</button>                                                                <!-- <button type="button" class="btn btn-default" ng-click="getHtml(medicalRecord.id)" ng-show="!printTemplateConfig.isHide && medicalRecord.workflowStatus != 1">打印PDF</button> -->                                                                <a href="" class="btn btn-default" ng-show="printTemplateConfig.isHide" ng-click="toPrint()">打印模板配置</a>                                                                <button type="button" class="btn btn-default" ng-click="showEmrChangeLog(medicalRecord.medicalRecordId)">                                                                    查看日志                                                                </button>                                                            </td>                                                        </tr>                                                    </table>                                                </td>                                                <td valign="top" style="width:150px;font-weight:bold; padding-top: 10px;border-left: 1px solid #D8E0E7;">                                                    <p style="padding-left:10px;" ng-if="medicalRecord.instructorName"> 实习医生：{{medicalRecord.doctorName}}</p>                                                    <p style="padding-left:10px;" ng-if="medicalRecord.instructorName"> 医生：{{medicalRecord.instructorName}}</p>                                                    <p style="padding-left:10px;" ng-if="!medicalRecord.instructorName"> 医生：{{medicalRecord.doctorName}}</p>                                                    <p style="padding-left:10px;"> 助手：{{medicalRecord.nurseName}}</p>                                                    <p style="padding-left:10px;"> 费用：{{medicalRecord.planPrice}}</p>                                                    <p style="padding-left:10px;"> 诊所：{{medicalRecord.officeName}}</p>                                                    <div>                                                        <p style="padding-left:10px;"> 相关标签：</p>                                                        <button class="btn btn-default"                                                                type="button"                                                                ng-click="goToTab(\'hardTissue\',medicalRecord.generalExamId)"                                                                ng-if="medicalRecord.generalExamId>0"                                                                ares-authorize="generalExam">                                                            牙齿检查                                                        </button>                                                        <button class="btn btn-default"                                                                type="button"                                                                ng-click="goToTab(\'imaging\',medicalRecord.apptId)"                                                                ng-if="medicalRecord.imageId>0"                                                                ares-authorize="patientImaging">                                                            影像                                                        </button>                                                        <button class="btn btn-default"                                                                ares-authorize="perioExam"                                                                type="button"                                                                ng-if="medicalRecord.perioExam>0"                                                                ng-click="goToTab(\'perioExam\',medicalRecord.perioExam)">                                                            牙周检查                                                        </button>                                                        <button class="btn btn-default"                                                                type="button"                                                                ng-click="goToTab(\'patientDocument\',medicalRecord.apptId)"                                                                ng-if="medicalRecord.patientDocumentId>0"                                                                ares-authorize="patientDocument">                                                            文档                                                        </button>                                                        <button class="btn btn-default" type="button"                                                                ng-click="goToTab(\'prescription\',medicalRecord.apptId)"                                                                ng-if="medicalRecord.drugorderId>0"                                                                ares-authorize="patientPrescription">                                                            处方                                                        </button>                                                        <button class="btn btn-default"                                                                type="button"                                                                ng-click="goToTab(\'patientCharge\',medicalRecord.apptId)"                                                                ng-if="medicalRecord.chargeOrderTagId>0"                                                                ares-authorize="patientCharge">                                                            收费                                                        </button>                                                        <button class="btn btn-default" type="button"                                                                ng-click="goToTab(\'followup\',medicalRecord.apptId)"                                                                ng-if="medicalRecord.followupId>0"                                                                ares-authorize="patientFollowup">                                                            随访                                                        </button>                                                        <button class="btn btn-default"                                                                type="button"                                                                ng-click="goToTab(\'outprocess\')"                                                                ng-if="medicalRecord.outProcessorderId>0"                                                                ares-authorize="patientOutProcess">                                                            技加工                                                        </button>                                                        <button type="button" ng-if="isDiseaseCertificateEnabled" class="btn btn-default" ng-click = "printDiseaseProofTemplate(medicalRecord)" ng-show=" medicalRecord.workflowStatus != 1">打印疾病证明书</button>                                                    </div>                                                </td>                                            </tr>                                            <!--病历明细 end -->                                        </table>                                    </div>                                </td>                            </tr>                            <!-- 时间轴线下 -->                            <tr ng-hide="medicalRecords.length==$index+1 || medicalRecord.isHideTimeLine || (medicalRecord.isHide && medicalRecord.dateStr==lastEmrTag)">                                <td class="border-right" style="height:20px;width:50px;" ng-class="{\'history-border-right\': medicalRecord.color==\'#9397A2\'}"></td>                                <td></td>                                <td></td>                            </tr>                        </table>                    </td>                </tr>            </table>        </div>    </div>    <emr-table-print-template></emr-table-print-template>    <popup-flyout-host></popup-flyout-host></div>');templateCache.put('/app/emr/views/emr-components/display/emr-advice-display-view.html','<div class="emr-advice emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}" ng-show="currentValue">    <div class="emr-level-{{field.level}}-title">        <label>医嘱：</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <!-- <pre -->            <!-- style="padding: 0;border: 0;border-radius: 0;background-color: transparent">{{currentValue|replaceHtmlWrap}}</pre> -->        <span ng-bind-html="currentValue|replaceHtmlWrap"></span>    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-chief-complaint-display-view.html','<div class="emr-chief-complaint medical-record-group mtp15 emr-level-{{field.level}}"    emr-field-name="{{field.fieldName}}" ng-show="currentValue">    <div class="emr-level-{{field.level}}-title">        <label>{{title || field.fieldName | emrTemplateFieldsStr}}</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <!-- <pre -->            <!-- style="padding: 0;border: 0;border-radius: 0;background-color: transparent">{{currentValue|replaceHtmlWrap}}</pre> -->        <span ng-bind-html="currentValue|replaceHtmlWrap"></span>    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-comment-display-view.html','<div class="emr-comment emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}" ng-show="currentValue">    <div class="emr-level-{{field.level}}-title">        <label>备注：</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">            <!-- <pre -->            <!-- style="padding: 0;border: 0;border-radius: 0;background-color: transparent">{{currentValue|replaceHtmlWrap}}</pre> -->        <span ng-bind-html="currentValue|replaceHtmlWrap"></span>    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-cure-records-display-view.html','<div class="emr-cure-records emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}"    ng-show="currentValue.length>0">    <div class="emr-level-{{field.level}}-title">        <label>{{isEmrCustomTemplateEnabled?"处理":"处置"}}：</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <table>            <tr ng-repeat="cureRecord in currentValue">                <td class="tooth-text" ng-if="allowEditTooth && !allowToothFdi">                    <div class="tooth-selector">                        <!--<ares-tooth-selector disable-btn="true" selected-tooth-codes="cureRecord.fdiToothCodes"></ares-tooth-selector>-->                        <ares-emr-tooth-selector disable-btn="true" selected-tooth-codes="cureRecord.fdiToothCodes">                        </ares-emr-tooth-selector>                    </div>                </td>                <td class="tooth-text" ng-if="allowEditTooth && allowToothFdi">                    <span ng-bind-html="cureRecord.fdiToothCodes|toToothFdiHtml"></span>                </td>                <td>                    <div class="record-text">                        <!-- <pre -->                            <!-- style="padding: 0;border: 0;border-radius: 0;background-color: transparent">{{cureRecord.cure|replaceHtmlWrap}}</pre> -->                        <span ng-bind-html="cureRecord.cure|replaceHtmlWrap"></span>                    </div>                </td>            </tr>        </table>    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-diagnose-records-display-view.html','<div class="emr-diagnose-records emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}"    ng-show="currentValue.length>0">    <div class="emr-level-{{field.level}}-title">        <label>诊断：</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <table>            <tr ng-repeat="diagnoseRecord in currentValue">                <td class="tooth-text" ng-if="allowEditTooth && !allowToothFdi">                    <div class="tooth-selector">                        <!--<ares-tooth-selector disable-btn="true" selected-tooth-codes="diagnoseRecord.fdiToothCodes"></ares-tooth-selector>-->                        <ares-emr-tooth-selector disable-btn="true" selected-tooth-codes="diagnoseRecord.fdiToothCodes">                        </ares-emr-tooth-selector>                    </div>                </td>                <td class="tooth-text" ng-if="allowEditTooth && allowToothFdi">                    <span ng-bind-html="diagnoseRecord.fdiToothCodes|toToothFdiHtml"></span>                </td>                <td>                    <div class="record-text">                        <!-- <pre -->                            <!-- style="padding: 0;border: 0;border-radius: 0;background-color: transparent">{{diagnoseRecord.diagnose|replaceHtmlWrap}}</pre> -->                        <span ng-bind-html="diagnoseRecord.diagnose|replaceHtmlWrap"></span>                    </div>                </td>            </tr>        </table>    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-display-host-view.html','<div class="customize-medical-record">    <div class="medical-record-content">    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-free-checkbox-display-view.html','<div class="emr-free-checkbox emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}" ng-show="currentValue.fieldValue">    <div class="emr-level-{{field.level}}-title" ng-if="field.fieldName">        <label>{{field.fieldName}}：</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <span ng-bind="currentValue.fieldValue"></span>    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-free-input-display-view.html','<div class="emr-free-input emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}" ng-show="currentValue.fieldValue">    <div class="emr-level-{{field.level}}-title" ng-if="field.fieldName">        <label>{{field.fieldName}}：</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <span ng-bind="currentValue.fieldValue"></span>    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-free-named-picture-display-view.html','<div class="emr-named-picture emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">    <style scoped>        .emr-named-picture .emr-field-content{          float: left;          margin-right: 10px;        }    </style>    <div class="emr-level-{{field.level}}-title" ng-if="field.fieldName" style="display:block; text-align:center; height: 30px;">        <label>{{field.fieldName}}</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content clearfix">        <div ng-include src="buildImageTemplateUrl()" style="display:none;"></div>        <div id="emr-photo-div" class="ares-person-image-content">            <div class="photo-wrap" ng-show="currentValue.picture.filePath" style="" ng-click="showBigPicture(currentValue.picture, $event)">                <img ng-src="{{currentValue.picture.thumbnailUrl || currentValue.picture.filePath}}" style="width: 150px;height: 120px;cursor:pointer;" />            </div>        </div>    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-free-number-display-view.html','<div class="emr-free-number emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}" ng-show="currentValue.fieldValue">    <div class="emr-level-{{field.level}}-title" ng-if="field.fieldName">        <label>{{field.fieldName}}：</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <span ng-bind="currentValue.fieldValue"></span>    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-free-picture-display-view.html','<div class="emr-picture emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">    <style scoped>      .emr-picture .emr-field-content > div{        float: left;        margin-right: 10px;      }    </style>    <div class="emr-level-{{field.level}}-title" ng-if="field.fieldName">        <label>{{field.fieldName}}：</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content clearfix">        <div ng-repeat="picture in currentValue.pictures">            <div id="emr-photo-div" class="ares-person-image-content"                 ng-class="picture.isInactive?\'not-allow-action\':\'\'">                <div class="photo-wrap" ng-show="picture.filePath" style="" ng-click="showBigPicture(picture, $event)">                    <img ng-src="{{picture.thumbnailUrl || picture.filePath}}" style="width: 150px;height: 120px;cursor:pointer;" />                </div>            </div>        </div>    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-free-radio-display-view.html','<div class="emr-free-radio emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}" ng-show="currentValue.fieldValue">    <div class="emr-level-{{field.level}}-title" ng-if="field.fieldName">        <label>{{field.fieldName}}：</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <span ng-bind="currentValue.fieldValue"></span>    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-free-textarea-display-view.html','<div class="emr-free-textarea emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}" ng-show="currentValue.fieldValue">    <div class="emr-level-{{field.level}}-title" ng-if="field.fieldName">        <label>{{field.fieldName}}：</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <span ng-bind="currentValue.fieldValue"></span>    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-history-display-view.html','<div class="emr-history medical-record-group mtp15 emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}"    ng-show="currentValue">    <div class="emr-level-{{field.level}}-title">        <label>现病史：</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <!-- <pre -->            <!-- style="padding: 0;border: 0;border-radius: 0;background-color: transparent">{{currentValue|replaceHtmlWrap}}</pre> -->        <span ng-bind-html="currentValue|replaceHtmlWrap"></span>    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-medical-image-display-view.html','<div class="emr-medical-image display emr-level-{{field.level}}">    <style>        .emr-medical-image {            margin-bottom: 5px;        }        .emr-medical-image .emr-medical-image-control {            width: 180px;            height: 150px;            position: relative;            float: left;            box-sizing: border-box;            margin-right: 12px;        }        .emr-medical-image .emr-medical-image-control .emr-medical-image-item {            width: 180px;            height: 120px;            background-color: #FAFAFA;            border: 1px solid #e3e3e3;            border-radius:4px;            position: relative;            text-align: center;        }        .emr-medical-image .emr-medical-image-control .emr-medical-image-item img {            max-width: 100%;            max-height: 100%;            vertical-align: middle;            height: 120px;        }        .emr-medical-image .emr-medical-image-control .emr-medical-image-item-footer {            font-size: 13px;            color: #575d6a;            height: 30px;            line-height: 30px;            overflow: hidden;            width: 100%;            white-space: nowrap;            text-overflow: ellipsis;        }    </style>    <div class="emr-level-{{field.level}}-title" ng-if="!isPrint">        <label>相关影像</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content clearfix">        <div class="emr-medical-image-control" ng-repeat="picture in currentValue track by $index">            <div class="emr-medical-image-item">                <div style="width: 100%; height: 100%;">                    <img ng-src="{{sceControl(isPrint ? printImg(picture) : picture.thumbnailUrl)}}"                         ng-click="showBigPicture(picture, $event)" alt="">                </div>            </div>            <div class="emr-medical-image-item-footer" ng-if="!isPrint">{{picture.appointmentStartTimeStr}}</div>        </div>    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-oral-check-records-display-view.html','<div class="emr-oral-check-records emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}"    ng-show="currentValue.length>0">    <div class="emr-level-{{field.level}}-title">        <label>{{isEmrCustomTemplateEnabled?"检查":"口腔检查"}}：</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <table>            <tr ng-repeat="oralCheck in currentValue">                <td class="tooth-text" ng-if="allowEditTooth && !allowToothFdi">                    <div class="tooth-selector">                        <!--<ares-tooth-selector disable-btn="true" selected-tooth-codes="oralCheck.fdiToothCodes"></ares-tooth-selector>-->                        <ares-emr-tooth-selector disable-btn="true" selected-tooth-codes="oralCheck.fdiToothCodes">                        </ares-emr-tooth-selector>                    </div>                </td>                <td class="tooth-text" ng-if="allowEditTooth && allowToothFdi">                    <span ng-bind-html="oralCheck.fdiToothCodes|toToothFdiHtml"></span>                </td>                <td>                    <div class="record-text" ng-if="$parent.$parent.$parent.IsAloneSaveOralCheckSymptom&&oralCheck.observationName">                        症状：<span ng-bind-html="oralCheck.observationName|replaceHtmlWrap"></span>                    </div>                    <div class="record-text">                        <!-- <pre -->                            <!-- style="padding: 0;border: 0;border-radius: 0;background-color: transparent">{{oralCheck.description|replaceHtmlWrap}}</pre> -->                        <span ng-bind-html="oralCheck.description|replaceHtmlWrap"></span>                    </div>                </td>            </tr>        </table>    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-past-history-display-view.html','<div class="emr-past-history medical-record-group mtp15 emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}"    ng-show="currentValue">    <div class="emr-level-{{field.level}}-title">        <label>既往史：</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <!-- <pre -->            <!-- style="padding: 0;border: 0;border-radius: 0;background-color: transparent">{{currentValue|replaceHtmlWrap}}</pre> -->        <span ng-bind-html="currentValue|replaceHtmlWrap"></span>    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-radiology-check-records-display-view.html','<div class="emr-radiology-check-records emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}"    ng-show="currentValue.length>0">    <div class="emr-level-{{field.level}}-title">        <label>{{isEmrCustomTemplateEnabled?"X线检查示":"辅助检查"}}：</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <table>            <tr ng-repeat="radiologyCheckRecord in currentValue">                <td class="tooth-text" ng-if="allowEditTooth && !allowToothFdi">                    <div class="tooth-selector">                        <!--<ares-tooth-selector disable-btn="true" selected-tooth-codes="radiologyCheckRecord.fdiToothCodes"></ares-tooth-selector>-->                        <ares-emr-tooth-selector disable-btn="true"                            selected-tooth-codes="radiologyCheckRecord.fdiToothCodes"></ares-emr-tooth-selector>                    </div>                </td>                <td class="tooth-text" ng-if="allowEditTooth && allowToothFdi">                    <span ng-bind-html="radiologyCheckRecord.fdiToothCodes|toToothFdiHtml"></span>                </td>                <td>                    <div class="record-text">                        <!-- <pre -->                            <!-- style="padding: 0;border: 0;border-radius: 0;background-color: transparent">{{radiologyCheckRecord.description|replaceHtmlWrap}}</pre> -->                        <span ng-bind-html="radiologyCheckRecord.description|replaceHtmlWrap"></span>                    </div>                </td>            </tr>        </table>    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-treatment-advices-display-view.html','<div class="emr-treatment-advices emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}"    ng-show="currentValue.length>0">    <div class="emr-level-{{field.level}}-title">        <label>治疗建议</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <table>            <tr ng-repeat="treatment in currentValue">                <td class="tooth-text" ng-if="allowEditTooth && !allowToothFdi">                    <div class="tooth-selector">                        <!--<ares-tooth-selector disable-btn="true" selected-tooth-codes="treatment.fdiToothCodes"></ares-tooth-selector>-->                        <ares-emr-tooth-selector disable-btn="true" selected-tooth-codes="treatment.fdiToothCodes">                        </ares-emr-tooth-selector>                    </div>                </td>                <td class="tooth-text" ng-if="allowEditTooth && allowToothFdi">                    <span ng-bind-html="treatment.fdiToothCodes|toToothFdiHtml"></span>                </td>                <td>                    <div class="record-text">                        <!-- <pre -->                            <!-- style="padding: 0;border: 0;border-radius: 0;background-color: transparent">{{treatment.content|replaceHtmlWrap}}</pre> -->                        <span ng-bind-html="treatment.content|replaceHtmlWrap"></span>                    </div>                </td>            </tr>        </table>    </div></div>');templateCache.put('/app/emr/views/emr-components/display/emr-treatment-plans-display-view.html','<div class="emr-treatment-plans emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}"ng-show="currentValue.length>0">    <div class="emr-level-{{field.level}}-title">        <label>{{isEmrCustomTemplateEnabled?"治疗方案":"治疗计划"}}：</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <table>            <tr ng-repeat="treatment in currentValue">                <td class="tooth-text" ng-if="allowEditTooth && !allowToothFdi">                    <div class="tooth-selector">                        <!--<ares-tooth-selector disable-btn="true" selected-tooth-codes="treatment.fdiToothCodes"></ares-tooth-selector>-->                        <ares-emr-tooth-selector disable-btn="true" selected-tooth-codes="treatment.fdiToothCodes"></ares-emr-tooth-selector>                    </div>                </td>                <td class="tooth-text" ng-if="allowEditTooth && allowToothFdi">                    <span ng-bind-html="treatment.fdiToothCodes|toToothFdiHtml"></span>                </td>                <td>                    <div class="record-text">                        <!-- <pre style="padding: 0;border: 0;border-radius: 0;background-color: transparent">{{treatment.planContent|replaceHtmlWrap}}</pre> -->                        <span ng-bind-html="treatment.planContent|replaceHtmlWrap"></span>                    </div>                </td>            </tr>        </table>    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-advice-edit-view.html','<div class="emr-advice edit emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">    <div class="emr-level-{{field.level}}-title">        <label>医嘱</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <textarea select-emr-template="病历词条-医嘱" level="level" class="form-control form-text" ng-model="currentValue" ng-focus="onFocus(\'医嘱\')" rows="2" />        <div class="template-select-district"></div>    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-archive-edit-view.html','<div class="emr-archive edit emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">    <div class="emr-level-{{field.level}}-title">        <label>标签</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <table style="width:100%;">            <tbody>                <tr>                    <td>                        <input class="archive-input form-text" ng-focus="onFocus(\'标签\')" ng-model="currentValue" data-placeholder="请选择" style="max-width:100%;width:100%;display:inline-block;margin: 0 auto;">                    </td>                    <td style="width:50px;text-align: center;">                        <button class="btn btn-default" ares-config-click="editArchive()">                            <span class="glyphicon glyphicon-cog"></span>                        </button>                    </td>                </tr>            </tbody>        </table>    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-chief-complaint-edit-view.html','<div class="emr-chief-complaint edit medical-record-group mtp15 emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">    <div class="emr-level-{{field.level}}-title">        <label>{{isFirstVisit === false ? "复诊" : "主诉"}}</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content form-location">        <textarea select-emr-template="true" level="level" name="chiefComplaint" class="form-control form-text" ng-model="currentValue" ng-focus="onFocus(\'主诉\')" rows="1" />        <div class="template-select-district"></div>    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-comment-edit-view.html','<div class="emr-comment edit emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">    <div class="emr-level-{{field.level}}-title">        <label>备注</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <textarea class="form-control form-text" ng-model="currentValue"  ng-focus="onFocus(\'备注\')" rows="2" />    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-cure-records-edit-view.html','<div class="emr-cure-records edit emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">    <div class="emr-level-{{field.level}}-title">        <label>{{isEmrCustomTemplateEnabled?"处理":"处置"}}</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <table style="width:100%;">            <tbody>                <tr class="medical-record-text" ng-repeat="item in currentValue">                    <td style="width:18%;padding-left:15px;padding-right:15px;" ng-if="allowEditTooth">                        <div style="margin-top: -10px;">                            <!--<ares-tooth-selector selected-tooth-codes="item.fdiToothCodesArray" tooth-board-opened="onRecordTooth" data-index="{{$index}}" data-list-name="cureRecordList" controller-name=\'PatientNewEmrEdit\'></ares-tooth-selector>-->                            <ares-emr-tooth-selector selected-tooth-codes="item.fdiToothCodesArray"                                                     tooth-board-opened="onRecordTooth"                                                     parent-selector=".medical-record-text"                                                     data-index="{{$index}}"                                                      data-list-name="cureRecordList"                                                     controller-name=\'PatientNewEmrEdit\'                                                     on-sync-tooth-code="onSyncToothCode"></ares-emr-tooth-selector>                        </div>                    </td>                    <td style="width: 78%;" ng-class="{\'no-tooth\':!allowEditTooth}">                        <textarea id="cureFocus{{$index}}" select-emr-template="{{isEmrCustomTemplateEnabled?\'病历词条-处理\':\'病历词条-处置\'}}" level="level" name="cure" class="form-control form-text" ng-model="item.cure" ng-focus="onFocus(\'治疗\',$index)" rows="4"></textarea>                        <div class="template-select-district"></div>                    </td>                    <td style="width:3%;text-align: center;">                        <button style="padding: 1px 2px;" class="btn btn-xs btn-default" ng-click="deleteEMRControl($index)" ng-if="$index > 0">                            <span class="glyphicon glyphicon-trash" aria-hidden="true"></span>                        </button>                    </td>                </tr>                <tr>                    <td colspan="3">                        <div class="operation-btn">                            <a href="javascript:void(0);" ng-click="addEMRControl()" sensors-enabled="true" sensors-event-name="PatientNewEmrEdit" sensors-event-type="添加牙位">                                <i class="icon-plus"></i> 添加牙位                            </a>                            <a href="javascript:void(0);" ng-click="importToCureRecord()">                                <i class="icon-like"></i> 导入{{isEmrCustomTemplateEnabled?"处理":"处置"}}                            </a>                        </div>                    </td>                </tr>            </tbody>        </table>    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-diagnose-records-edit-view.html','<div class="emr-diagnose-records edit emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">    <div class="emr-level-{{field.level}}-title">        <label>诊断</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <table style="width:100%;">            <tbody>                <tr class="medical-record-text" ng-repeat="item in currentValue">                    <td style="width:18%;padding-left:15px;padding-right:15px;" ng-if="allowEditTooth">                        <div style="margin-top: -10px;">                            <!--<ares-tooth-selector selected-tooth-codes="item.fdiToothCodesArray" tooth-board-opened="onRecordTooth" data-index="{{$index}}" data-list-name="diagnoseRecordList" controller-name=\'PatientNewEmrEdit\'></ares-tooth-selector>-->                            <ares-emr-tooth-selector selected-tooth-codes="item.fdiToothCodesArray"                                                     tooth-board-opened="onRecordTooth"                                                     parent-selector=".medical-record-text"                                                     data-index="{{$index}}"                                                      data-list-name="diagnoseRecordList"                                                     controller-name=\'PatientNewEmrEdit\'                                                     on-sync-tooth-code="onSyncToothCode"></ares-emr-tooth-selector>                        </div>                    </td>                    <td style="width: 78%;" ng-class="{\'no-tooth\':!allowEditTooth}">                        <textarea id="diagnoseFocus{{$index}}" select-emr-template="病历词条-诊断" level="level" name="diagnose" class="form-control form-text" ng-model="item.diagnose" ng-focus="onFocus(\'诊断\',$index)" rows="2"></textarea>                        <div class="template-select-district"></div>                    </td>                    <td style="width:3%;text-align: center;">                        <button style="padding: 1px 2px;" class="btn btn-xs btn-default" ng-click="deleteEMRControl($index)" ng-if="$index > 0">                            <span class="glyphicon glyphicon-trash" aria-hidden="true"></span>                        </button>                    </td>                </tr>                <tr>                    <td colspan="3">                        <div class="operation-btn">                            <a href="javascript:void(0);" ng-click="addEMRControl()" sensors-enabled="true" sensors-event-name="PatientNewEmrEdit" sensors-event-type="添加牙位">                                <i class="icon-plus"></i> 添加牙位                            </a>                        </div>                    </td>                </tr>            </tbody>        </table>    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-free-checkbox-edit-view.html','<div class="emr-free-checkbox edit emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">  <style scoped>      .emr-free-checkbox .emr-field-content {          position: relative;          width: 100%;          display: flex !important;          flex-flow: row wrap;      }      .emr-free-checkbox .checkbox-group {          display: inline-block;          vertical-align: top;          width: 205px;          margin-right: 0 !important;          box-sizing: border-box;          padding-left: 20px;          margin-bottom: 5px;      }      .emr-free-checkbox .checkbox-group > .emr-free-number,      .emr-free-checkbox .checkbox-group > .emr-free-input {          margin-top: 5px;      }  </style>  <div class="emr-level-{{field.level}}-title" ng-if="field.fieldName">    <label>{{field.fieldName}}</label>  </div>  <div class="emr-field-content emr-level-{{field.level}}-content">    <div class="checkbox-group" ng-repeat="option in options track by $index">      <input id="{{field.fieldCode}}_{{$index}}"             class="enyo-checkbox"             type="checkbox" value="{{option.value}}" name="{{field.fieldCode}}"             ng-click="handleClick($event, option)"             ng-class="options[$index].isChecked && \'checked\'"             ng-model="options[$index].isChecked" />      <label for="{{field.fieldCode}}_{{$index}}" class="enyo-checkbox-label">{{option.value}}</label>    </div>  </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-free-input-edit-view.html','<div class="emr-free-input edit emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}" emr-enable-field-value="{{field.enableWhenFieldValue}}">    <div class="emr-level-{{field.level}}-title" ng-if="field.fieldName">        <label>{{field.fieldName}}</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content" ng-if="!!field.phraseType">        <input type="text"               style="height: 32px;"               ng-model="currentValue.fieldValue"               select-emr-template="{{field.phraseType}}"               ng-disabled="field.enableWhenFieldCode && !enableWhen()"        />        <div class="template-select-district"></div>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content" ng-if="!field.phraseType">        <input type="text"               style="height: 32px;"               ng-model="currentValue.fieldValue"               ng-disabled="field.enableWhenFieldCode && !enableWhen()"        />    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-free-named-picture-edit-view.html','<div class="emr-named-picture edit emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">    <style scoped>        .emr-named-picture {            margin-bottom: 5px;        }        .emr-named-picture .ares-person-image-content {            width: 150px;            height: 120px;            box-sizing: border-box;            position: relative;            border: 1px solid #dedbdb;        }        .emr-named-picture .ares-person-image-content .photo-wrap {            width: 100%;            height: 100%;            line-height: 116px;            text-align: center;            vertical-align: middle;        }        .emr-named-picture .ares-person-image-content.not-allow-action .photo-wrap {            cursor: not-allowed;        }        .emr-named-picture .ares-person-image-content .photo-action-wrap {            width: 90px;            height: 90px;            box-sizing: border-box;            border-radius: 100%;            background-color: #e3e3e3;            text-align: center;            padding: 16px;            margin: 14px;            cursor: pointer;        }        .emr-named-picture .ares-person-image-content.not-allow-action .photo-action-wrap {            cursor: not-allowed;        }        .emr-named-picture .ares-person-image-content .photo-action-wrap .upload-icon {            display: block;            background-image: url(/app-resource/images/icon-patient-photo.png);            background-size: 48px 80px;            background-position: 0px 64px;            width: 16px;            height: 16px;            margin: 10px 20px;            padding: 0;        }        .emr-named-picture .image-description {            width: 120px;            min-height: 22px;            text-align: center;        }        .emr-named-picture .phonto-action-up li {            display: inline-block;            width: 50px;            height: 50px;            line-height: 50px;            text-align: center;            vertical-align: middle;            cursor: pointer;        }        .emr-named-picture .phonto-action-up li>span.up-icon {            color: #e3e3e3;            font-size: 45px;        }        .emr-named-picture .phonto-action-up li:hover>span.up-icon {            color: #ccc;        }        .photo-text-action {            position: absolute;            bottom: 0;            width: 100%;        }        .emr-named-picture .photo-text-action li {            float: left;            width: 73px;            height: 28px;            text-align: center;            line-height: 28px;            background-color: #D4D4D4;            font-size: 12px;            cursor: pointer;        }        .emr-named-picture .photo-text-action li:last-child {            margin-left: 2px;        }        .emr-named-picture .photo-text-action li .del {            color: #FF2B2B;        }        .emr-named-picture .photo-text-action li .re-up {            color: #fff;        }    </style>    <div class="emr-level-{{field.level}}-title" ng-if="field.fieldName">        <label>{{field.fieldName}}</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <div ng-include src="buildImageTemplateUrl()" style="display:none;"></div>        <div id="emr-photo-div" class="ares-person-image-content" ng-class="currentValue.picture.isInactive?\'not-allow-action\':\'\'">            <div class="photo-wrap" ng-show="currentValue.picture.filePath" style="" ng-click="showBigPicture(currentValue.picture, $event)">                <img ng-src="{{currentValue.picture.filePath}}" style="max-width: 100%; max-height: 100%;cursor:pointer;" />            </div>            <div class="photo-wrap" ng-hide="currentValue.picture.filePath">                <ul class="photo-action-menus phonto-action-up">                    <li ng-click="onClickFileDialog($event)"><span class="up-icon iconfont icon-tupian"></span></li>                </ul>            </div>            <div class="photo-text-action" ng-show="currentValue.picture.filePath&&isEMRPhotoHovered">                <ul class="photo-action-menus">                    <li ng-click="deletePicture($event)"><span class="del">删除</span></li>                    <li ng-click="onClickFileDialog($event)"><span class="re-up">重新上传</span></li>                </ul>            </div>        </div>    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-free-number-edit-view.html','<div class="emr-free-number edit emr-level-{{field.level}}" emr-field-name="{{field.itemName}}" emr-enable-field-value="{{field.enableWhenFieldValue}}">    <div class="emr-level-{{field.level}}-title" ng-if="field.fieldName">        <label>{{field.fieldName}}</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <input type="number" min="{{min}}" max="{{max}}" step="1" class="form-control"               ng-model="currentValue.fieldValue"               ng-disabled="field.enableWhenFieldCode && !enableWhen()"/>    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-free-picture-edit-view.html','<div class="emr-picture edit emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">    <style scoped>        .emr-picture {            margin-bottom: 5px;        }            .emr-picture .ares-person-image-content {                width: 150px;                height: 150px;                box-sizing: border-box;                position: relative;                border: 1px solid #E3E3E3;                margin-right: 10px;                float: left;            }                .emr-picture .ares-person-image-content .photo-wrap {                    width: 100%;                    height: 100%;                }                .emr-picture .ares-person-image-content.not-allow-action .photo-wrap {                    cursor: not-allowed;                }                .emr-picture .ares-person-image-content .photo-action-wrap {                    width: 90px;                    height: 90px;                    box-sizing: border-box;                    border-radius: 100%;                    text-align: center;                    margin: 40px 30px;                    cursor: pointer;                }                .emr-picture .ares-person-image-content.not-allow-action .photo-action-wrap {                    cursor: not-allowed;                }                .emr-picture .ares-person-image-content .photo-action-wrap .upload-icon {                    display: block;                    background-image: url(/app-resource/images/icon-patient-photo.png);                    background-size: 48px 80px;                    background-position: 0px 64px;                    width: 16px;                    height: 16px;                    margin: 10px 20px;                    padding: 0;                }            .emr-picture .image-description {                width: 120px;                min-height: 22px;                text-align: center;            }            .emr-picture .photo-action-menus li {                display: inline-block;                width: 26px;                height: 26px;                line-height: 26px;                background: #ffffff;                border-radius: 100%;                text-align: center;                margin-top: 32px;            }                .emr-picture .photo-action-menus li:hover {                    background: #d4d4d4;                    cursor: pointer;                }                    .emr-named-picture .photo-action-menus li:hover > .action-icon {                        background-position-x: -32px;                    }            .emr-picture .action-icon {                display: inline-block;                margin: 5px;                width: 16px;                height: 16px;                background-image: url(/app-resource/images/icon-patient-photo.png);                background-size: 48px 80px;                background-position-x: -16px;            }                .emr-picture .action-icon.upload {                    background-position-y: -16px;                }                .emr-picture .action-icon.delete {                    background-position-y: -64px;                }    </style><div class="emr-level-{{field.level}}-title" ng-if="field.fieldName">        <label>{{field.fieldName}}</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content clearfix">        <div ng-include src="buildImageTemplateUrl()" style="display:none;"></div>        <div ng-repeat="picture in currentValue.pictures" class="emr-photo ares-person-image-content">            <div class="photo-wrap" ng-show="picture.filePath" style="" ng-click="showBigPicture(picture, $event)">                <img ng-src="{{picture.filePath}}" style="width:149px;height: 149px;cursor:pointer;" />            </div>            <div class="photo-action-wrap"                 style="position: absolute; top: 0; background: rgba(0,0,0,0.65); ">                <ul class="photo-action-menus">                    <li ng-click="deletePicture(picture)"><span class="action-icon delete"></span></li>                </ul>            </div>        </div>        <div class="ares-person-image-content">            <div ng-click="onClickFileDialog($event)" class="photo-action-wrap">                <b class="iconfont icon-shangchuan" style="color: #00a6c9;font-size: 36px;"></b>                <span style="display: block; margin-top: 3px;">上传图片</span>            </div>        </div>    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-free-radio-edit-view.html','<div class="emr-free-radio edit emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">    <style scoped>        .emr-free-radio .emr-field-content {            position: relative;            width: 100%;            display: flex !important;            flex-flow: row wrap;        }        .emr-free-radio .radio-group {            display: inline-block;            vertical-align: top;            width: 205px;            margin-right: 0 !important;            box-sizing: border-box;            padding-left: 20px;            margin-bottom: 5px;        }        .emr-free-radio .radio-group > .emr-free-number,        .emr-free-radio .radio-group > .emr-free-input {            margin-top: 5px;        }    </style>    <div class="emr-level-{{field.level}}-title" ng-if="field.fieldName">        <label>{{field.fieldName}}</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <div class="radio-group" ng-repeat="option in options track by $index">            <input id="{{field.fieldCode}}_{{$index}}" class="enyo-radio" type="radio" value="{{option}}" name="{{item.fieldCode}}"                   ng-class="option === currentValue.fieldValue && \'checked\'"                   ng-model="currentValue.fieldValue" />            <label for="{{field.fieldCode}}_{{$index}}" class="enyo-radio-label">{{option}}</label>        </div>    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-free-textarea-edit-view.html','<div class="emr-free-textarea edit emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}" emr-enable-field-value="{{field.enableWhenFieldValue}}">    <div class="emr-level-{{field.level}}-title" ng-if="field.fieldName">        <label>{{field.fieldName}}</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content" ng-if="!!field.phraseType">        <textarea rows="{{rows}}" ng-model="currentValue.fieldValue" select-emr-template="{{field.phraseType}}" ng-disabled="field.enableWhenFieldCode && !enableWhen()"></textarea>        <div class="template-select-district"></div>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content" ng-if="!field.phraseType">        <textarea rows="{{rows}}" ng-model="currentValue.fieldValue"  ng-disabled="field.enableWhenFieldCode && !enableWhen()"></textarea>    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-history-edit-view.html','<div class="emr-history edit emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">    <div class="emr-level-{{field.level}}-title">        <label>现病史</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <textarea id="historyFocus" select-emr-template="病历词条-现病史" level="level" name="history" class="form-control form-text" ng-model="currentValue" ng-focus="onFocus(\'现病史\')" rows="2"></textarea>        <div class="template-select-district"></div>    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-oral-check-records-edit-view.html','<div class="emr-oral-check-records edit emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">    <div class="emr-level-{{field.level}}-title">        <label>{{isEmrCustomTemplateEnabled?"检查":"口腔检查"}}</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <table style="width:100%;">            <tbody>                <tr class="medical-record-text" ng-repeat="item in currentValue">                    <td style="width:18%;padding-left:15px;padding-right:15px;" ng-if="allowEditTooth">                        <div style="margin-top: -10px;">                            <ares-emr-tooth-selector selected-tooth-codes="item.fdiToothCodesArray"                                                     tooth-board-opened="onRecordTooth"                                                     parent-selector=".medical-record-text"                                                     data-index="{{$index}}"                                                      data-list-name="oralCheckRecordList"                                                     controller-name=\'PatientNewEmrEdit\'                                                     is-show-tooth-sync="true"                                                     tooth-selector-item="item"                                                     on-sync-tooth-code="onSyncToothCode"></ares-emr-tooth-selector>                        </div>                    </td>                    <td ng-class="{\'no-tooth\':!allowEditTooth}" style="width: 78%;padding-bottom:5px;padding-top:5px">                        <div ng-if="openTag&&IsAloneSaveOralCheckSymptom">                            <div style="width: 96%; height: 70px; border: 1px solid #ddd; overflow-y: auto; padding: 6px 12px;"                                 select-emr-template="{{isEmrCustomTemplateEnabled?\'病历词条-检查\':\'病历词条-口腔检查\'}}"                                 level="level"                                 data-content="{{item.observationName}}"                                 data-type="tag"                                 name="oralCheck1"                                  IsAloneSaveOralCheckSymptom="{{IsAloneSaveOralCheckSymptom}}"                                  ng-model="item.observationName">                                <div ng-if="splitFn(item.observationName).length==0" style="color:#999999">请输入症状</div>                                <span class="bg-primary" ng-repeat="o in splitFn(item.observationName) track by $index"                                      style="display: inline-block; text-align: center; padding: 3px 5px; margin-right: 5px; font-size: 13px;margin-top: 8px;">                                    {{o}}                                    <i class="iconfont icon-guanbi" style="cursor: pointer;" ng-click="removeItem($event, item, o, $index)"></i>                                </span>                            </div>                            <div class="template-select-district" style="width: 100%; min-width: 100%; margin-left: 0;margin-top:5px;margin-bottom:5px;"></div>                        </div>                                                    <textarea id="oralCheckFocus{{$index}}" select-emr-template="{{isEmrCustomTemplateEnabled?\'病历词条-检查\':\'病历词条-口腔检查\'}}" level="level"                                      name="oralCheck" class="form-control form-text" ng-model="item.description" ng-focus="onFocus(\'口腔检查\',$index)"                                      IsAloneSaveOralCheckSymptom="{{IsAloneSaveOralCheckSymptom}}" rows="4" placeholder="请输入检查结果"></textarea>                        <div class="template-select-district"></div>                    </td>                    <td style="width:3%;text-align: center;">                        <button style="padding: 1px 2px;" class="btn btn-xs btn-default" ng-click="deleteEMRControl($index)" ng-if="$index > 0">                            <span class="glyphicon glyphicon-trash" aria-hidden="true"></span>                        </button>                    </td>                </tr>                <tr>                    <td colspan="3">                        <div class="operation-btn">                            <a href="javascript:void(0);" ng-click="addEMRControl()" sensors-enabled="true" sensors-event-name="PatientNewEmrEdit" sensors-event-type="添加牙位">                                <i class="icon-plus"></i> 添加牙位                            </a>                            <a href="javascript:void(0);" ng-click="importToothExamContent()">                                <i class="icon-like"></i> 导入检查                            </a>                        </div>                    </td>                </tr>            </tbody>        </table>    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-past-history-edit-view.html','<div class="emr-past-history edit emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">    <div class="emr-level-{{field.level}}-title">        <label>既往史</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <textarea id="pastHistoryFocus" select-emr-template="病历词条-既往史" level="level" name="pastHistory" class="form-control form-text" ng-model="currentValue" ng-focus="onFocus(\'既往史\')" rows="2"></textarea>        <div class="template-select-district"></div>    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-radiology-check-records-edit-view.html','<div class="emr-radiology-check-records edit emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">    <div class="emr-level-{{field.level}}-title">        <label>{{isEmrCustomTemplateEnabled?"X线检查示":"辅助检查"}}</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <table style="width:100%;">            <tbody>                <tr class="medical-record-text" ng-repeat="item in currentValue">                    <td style="width:18%;padding-left:15px;padding-right:15px;" ng-if="allowEditTooth">                        <div style="margin-top: -10px;">                            <!--<ares-tooth-selector selected-tooth-codes="item.fdiToothCodesArray" tooth-board-opened="onRecordTooth" data-index="{{$index}}" data-list-name="radiologyCheckRecordList" controller-name=\'PatientNewEmrEdit\'></ares-tooth-selector>-->                            <ares-emr-tooth-selector selected-tooth-codes="item.fdiToothCodesArray"                                                     tooth-board-opened="onRecordTooth"                                                     parent-selector=".medical-record-text"                                                     data-index="{{$index}}"                                                      data-list-name="radiologyCheckRecordList"                                                     controller-name=\'PatientNewEmrEdit\'                                                     on-sync-tooth-code="onSyncToothCode"></ares-emr-tooth-selector>                        </div>                    </td>                    <td style="width: 78%;" ng-class="{\'no-tooth\':!allowEditTooth}">                        <textarea id="radiologyCheckFocus{{$index}}" select-emr-template="{{isEmrCustomTemplateEnabled?\'病历词条-X线检查示\':\'病历词条-辅助检查\'}}" level="level" name="radiologyCheck" class="form-control form-text" ng-model="item.description" ng-focus="onFocus(\'辅助检查\',$index)" rows="2"></textarea>                        <div class="template-select-district"></div>                    </td>                    <td style="width:3%;text-align: center;">                        <button style="padding: 1px 2px;" class="btn btn-xs btn-default" ng-click="deleteEMRControl($index)" ng-if="$index > 0">                            <span class="glyphicon glyphicon-trash" aria-hidden="true"></span>                        </button>                    </td>                </tr>                <tr>                    <td colspan="3">                        <div class="operation-btn">                            <a href="javascript:void(0);" ng-click="addEMRControl()" sensors-enabled="true" sensors-event-name="PatientNewEmrEdit" sensors-event-type="添加牙位">                                <i class="icon-plus"></i> 添加牙位                            </a>                        </div>                    </td>                </tr>            </tbody>        </table>    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-treatment-advices-edit-view.html','<div class="emr-treatment-advices edit emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">    <div class="emr-level-{{field.level}}-title">        <label>治疗建议</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <table style="width:100%;">            <tbody>                <tr class="medical-record-text" ng-repeat="item in currentValue">                    <td style="width:18%;padding-left:15px;padding-right:15px;" ng-if="allowEditTooth">                        <div style="margin-top: -10px;">                            <!--<ares-tooth-selector selected-tooth-codes="item.fdiToothCodesArray" tooth-board-opened="onRecordTooth" data-index="{{$index}}" data-list-name="treatmentAdviceList" controller-name=\'PatientNewEmrEdit\'></ares-tooth-selector>-->                            <ares-emr-tooth-selector selected-tooth-codes="item.fdiToothCodesArray"                                                     tooth-board-opened="onRecordTooth"                                                     parent-selector=".medical-record-text"                                                     data-index="{{$index}}"                                                      data-list-name="treatmentAdviceList"                                                     controller-name=\'PatientNewEmrEdit\'                                                     on-sync-tooth-code="onSyncToothCode"></ares-emr-tooth-selector>                        </div>                    </td>                    <td style="width: 78%;" ng-class="{\'no-tooth\':!allowEditTooth}">                        <textarea id="treatmentAdviceFocus{{$index}}" select-emr-template="病历词条-治疗建议" level="level" name="treatmentAdvice" class="form-control form-text" ng-model="item.content" ng-focus="onFocus(\'治疗建议\',$index)" rows="2"></textarea>                        <div class="template-select-district"></div>                    </td>                    <td style="width:3%;text-align: center;">                        <button style="padding: 1px 2px;" class="btn btn-xs btn-default" ng-click="deleteEMRControl($index)" ng-if="$index > 0">                            <span class="glyphicon glyphicon-trash" aria-hidden="true"></span>                        </button>                    </td>                </tr>                <tr>                    <td colspan="3">                        <div class="operation-btn">                            <a href="javascript:void(0);" ng-click="addEMRControl()" sensors-enabled="true" sensors-event-name="PatientNewEmrEdit" sensors-event-type="添加牙位">                                <i class="icon-plus"></i> 添加牙位                            </a>                        </div>                    </td>                </tr>            </tbody>        </table>    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-treatment-plans-edit-view.html','<div class="emr-treatment-plans edit emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">    <div class="emr-level-{{field.level}}-title">        <label>{{isEmrCustomTemplateEnabled?"治疗方案":"治疗计划"}}</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content">        <table style="width:100%;">            <tbody>                <tr class="medical-record-text" ng-repeat="item in currentValue">                    <td style="width:18%;padding-left:15px;padding-right:15px;" ng-if="allowEditTooth">                        <div style="margin-top: -10px;">                            <!--<ares-tooth-selector selected-tooth-codes="item.fdiToothCodesArray" tooth-board-opened="onRecordTooth" data-index="{{$index}}" data-list-name="treatmentPlanList" controller-name=\'PatientNewEmrEdit\'></ares-tooth-selector>-->                            <ares-emr-tooth-selector selected-tooth-codes="item.fdiToothCodesArray"                                                     tooth-board-opened="onRecordTooth"                                                     parent-selector=".medical-record-text"                                                     data-index="{{$index}}"                                                      data-list-name="treatmentPlanList"                                                     controller-name=\'PatientNewEmrEdit\'                                                     on-sync-tooth-code="onSyncToothCode"></ares-emr-tooth-selector>                        </div>                    </td>                    <td style="width: 78%;" ng-class="{\'no-tooth\':!allowEditTooth}">                        <textarea id="treatmentPlanFocus{{$index}}" select-emr-template="{{isEmrCustomTemplateEnabled?\'病历词条-治疗方案\':\'病历词条-治疗计划\'}}" level="level" name="treatmentPlan" class="form-control form-text" ng-model="item.planContent" ng-focus="onFocus(\'治疗计划\',$index)" rows="2"></textarea>                        <div class="template-select-district"></div>                    </td>                    <td style="width:3%;text-align: center;">                        <button style="padding: 1px 2px;" class="btn btn-xs btn-default" ng-click="deleteEMRControl($index)"  ng-if="$index > 0">                            <span class="glyphicon glyphicon-trash" aria-hidden="true"></span>                        </button>                    </td>                </tr>                <tr>                    <td colspan="3">                        <div class="operation-btn">                            <a href="javascript:void(0);" ng-click="addEMRControl()" sensors-enabled="true" sensors-event-name="PatientNewEmrEdit" sensors-event-type="添加牙位">                                <i class="icon-plus"></i> 添加牙位                            </a>                            <a href="javascript:void(0);" ng-click="importToTreatmentPlan()">                                <i class="icon-like"></i> 导入{{isEmrCustomTemplateEnabled?"治疗方案":"治疗计划"}}                            </a>                        </div>                    </td>                </tr>            </tbody>        </table>    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-medical-image-choice-picture-dialog/emr-medical-image-choice-picture-dialog-view.html','<div class="emr-medical-image-dialog-wrapper enyo" ares-clean-kendo>    <style>        .emr-medical-image-dialog-wrapper {            width: 100%;            height: 100%;        }        .emr-medical-image-dialog-wrapper.enyo .k-dropdown .k-dropdown-wrap {            height: 28px;        }        .emr-medical-image-dialog-wrapper.enyo .k-dropdown .k-dropdown-wrap .k-input,        .emr-medical-image-dialog-wrapper.enyo .k-dropdown .k-dropdown-wrap .k-select {            line-height: 28px;            padding: 0;        }        .emr-medical-image-dialog-body {            width: 100%;            box-sizing: border-box;            padding: 12px;            overflow-x: hidden;            overflow-y: auto;            height: calc(100% - 40px);        }        .emr-medical-image-dialog-body .emr-medical-image-control {            width: 180px;            height: 150px;            position: relative;            float: left;            box-sizing: border-box;            margin-right: 12px;            margin-top: 10px;        }        .emr-medical-image-dialog-body .emr-medical-image-control .emr-medical-image-item {            width: 180px;            height: 120px;            background-color: #FAFAFA;            border: 1px solid #e3e3e3;            border-radius:4px;            position: relative;            text-align: center;        }        .emr-medical-image-dialog-body .emr-medical-image-control .emr-medical-image-item img {            max-width: 100%;            max-height: 100%;            vertical-align: middle;            height: 120px;        }        .emr-medical-image-dialog-body .emr-medical-image-control .emr-medical-image-item-footer {            font-size: 13px;            color: #575d6a;            height: 30px;            line-height: 30px;            overflow: hidden;            width: 100%;            white-space: nowrap;            text-overflow: ellipsis;        }        .emr-medical-image-dialog-body .emr-medical-image-control .emr-medical-image-item-footer .enyo-checkbox-label {            height: 16px;            vertical-align: middle;        }        .emr-medical-image-dialog-wrapper .emr-medical-image-dialog-footer {            width: 100%;            height: 40px;            line-height: 40px;            border-top: 1px solid #D9D9D9;            box-sizing: border-box;            text-align: right;        }        .emr-medical-image-dialog-wrapper button.medical-image-dialog-btn  {            height: 28px;            line-height: 28px;            padding-top: 0;            padding-bottom: 0;            border-radius: 2px !important;        }    </style>    <div class="emr-medical-image-dialog-body">        <div class="emr-medical-image-dialog-title clearfix">            <span>共 {{pictures.length}} 张影像</span>            <div class="pull-right">                <input id="checkboxAll" type="checkbox" checked class="enyo-checkbox" ng-checked="isAllChecked" ng-disabled="isAllCheckedLock" ng-click="onCheckAll($event)" />                <label class="enyo-checkbox-label" for="checkboxAll">全选</label>                <span style="margin-left:25px">关联影像筛选</span>                <input type="text" id="appointment-drop-down-list" style="width: 260px; margin-left: 6px; height: 28px;" />                <button class="lc-btn lc-btn-default medical-image-dialog-btn" ng-click="onRefresh()">刷新</button>            </div>        </div>        <div ng-if="pictures.length > 0">            <div class="emr-medical-image-control" ng-repeat="picture in pictures">                <div class="emr-medical-image-item">                    <div style="width: 100%; height: 100%;">                        <img ng-src="{{sceControl(picture.thumbnailUrl)}}" alt="">                    </div>                </div>                <div class="emr-medical-image-item-footer">                    <input type="checkbox"                           class="enyo-checkbox"                           value="{{picture.imageId}}"                           id="checkbox-{{picture.imageId}}"                           ng-disabled="picture._isLock"                           ng-click="handleClick(picture)"                           ng-model="picture._isChecked"                    />                    <label class="enyo-checkbox-label" for="checkbox-{{picture.imageId}}">{{picture.appointmentStartTimeStr}}</label>                </div>            </div>        </div>    </div>    <div class="emr-medical-image-dialog-footer">        <button class="lc-btn lc-btn-primary medical-image-dialog-btn" ng-click="onSave()">添加</button>        <button class="lc-btn lc-btn-default medical-image-dialog-btn" style="margin-right: 15px;" ng-click="onCancel()">取消</button>    </div></div>');templateCache.put('/app/emr/views/emr-components/edit/emr-medical-image-edit/emr-medical-image-edit-view.html','<div class="emr-medical-image edit emr-level-{{field.level}}" emr-field-name="{{field.fieldName}}">    <style>        .emr-medical-image {            margin-bottom: 5px;        }        .emr-medical-image .emr-medical-image-control {            width: 180px;            height: 150px;            position: relative;            float: left;            box-sizing: border-box;            margin-right: 12px;        }        .emr-medical-image .emr-medical-image-control.add-medical-image {            width: 180px;            height: 120px;            cursor: pointer;            background-color: #FAFAFA;            border: 1px dashed #e3e3e3;            border-radius:4px;            margin-right: 0;        }        .emr-medical-image .emr-medical-image-control .add-medical-image-icon {            text-align: center;            position: absolute;            left: 50%;            top: 50%;            transform: translate(-50%, -50%);        }        .emr-medical-image .emr-medical-image-control .add-medical-image-icon i.icon-shizi {            font-size: 30px;        }        .emr-medical-image .emr-medical-image-control .emr-medical-image-item {            width: 180px;            height: 120px;            background-color: #FAFAFA;            border: 1px solid #e3e3e3;            border-radius:4px;            position: relative;            text-align: center;        }        .emr-medical-image .emr-medical-image-control .emr-medical-image-item img {            max-width: 100%;            max-height: 100%;            vertical-align: middle;            height: 120px;        }        .emr-medical-image .emr-medical-image-control .medical-image-text-action {            display: none;            position: absolute;            bottom: 0;            width: 100%;            height: 32px;            line-height: 32px;            text-align: center;            cursor: pointer;            font-size: 12px;            color: #ff2b2b;            background: rgba(61,61,61,0.2);            border-radius: 0 0 4px 4px;            transition: all 0.3s;        }        .emr-medical-image .emr-medical-image-control .emr-medical-image-item:hover .medical-image-text-action {            display: block;        }        .emr-medical-image .emr-medical-image-control .emr-medical-image-item-footer {            font-size: 13px;            color: #575d6a;            height: 30px;            line-height: 30px;            overflow: hidden;            width: 100%;            white-space: nowrap;            text-overflow: ellipsis;        }    </style>    <div class="emr-level-{{field.level}}-title">        <label>相关影像</label>    </div>    <div class="emr-field-content emr-level-{{field.level}}-content clearfix">        <div class="emr-medical-image-control" ng-repeat="picture in currentValue track by $index">            <div class="emr-medical-image-item">                <div style="width: 100%; height: 100%;">                    <img ng-src="{{sceControl(picture.thumbnailUrl)}}" ng-click="showBigPicture(picture, $event)" alt="">                </div>                <div class="medical-image-text-action" ng-click="onRevocation(picture, $index)">撤销</div>            </div>            <div class="emr-medical-image-item-footer">{{picture.appointmentStartTimeStr}}</div>        </div>        <div class="emr-medical-image-control add-medical-image" ng-click="addMedicalImage()">            <div class="add-medical-image-icon">                <i class="iconfont icon-shizi"></i>                <div>添加</div>            </div>        </div>    </div></div>');templateCache.put('/app/emr/views/medicalrecord-list/all-medicalrecord-list-view.html','<div class="ares-main-content enyo" ares-clean-kendo>    <style type="text/css">        .medical-record-body {            margin-top: 10px;            min-width: 1000px;        }        .medical-record-body .k-grid-header-locked {            margin-right: -10px;        }        .medical-record-body .k-grid-content-locked,        .medical-record-body .k-grid-header .k-grid-header-locked {            float: right;            border-width: 0;        }        #MedicalrecordList .custom-button.btn-small {            width: 36px;            border-width: 0;            padding: 0;            margin-left: 4px;            margin-right: 0;            background: transparent;        }        #MedicalrecordList .custom-button.btn-middle {            width: 60px;            border-width: 0;            padding: 0;            margin-left: 4px;            margin-right: 0;            background: transparent;        }        #MedicalrecordList .group-list {            text-align: left;        }    </style>    <div>        <table>            <tr>                <!--<td style="width:190px"><h1 style="margin:0">全部病历</h1></td>-->                <!--<td style="padding-left: 10px; padding-right: 10px;">患者</td>                <td style="padding-right:10px">                    <input class="form-control" style="width:100px" ng-model="searchString" />                </td>-->                <td style="width: 100px;padding-right: 10px;">                    <select id="daysBeforeTodayInput" class="not-ignore" kendo-drop-down-list style=" width:100px"                            ng-model="range" ng-change="initDefaultTimeSpan()">                        <option value="0">本日</option>                        <option value="week">本周</option>                        <option value="month">本月</option>                        <option value="自定义">自定义</option>                    </select>                </td>                <td ng-if="range==\'自定义\'" style="width: 130px;">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker                           k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']"                           style="width: 130px;">                </td>                <td ng-if="range==\'自定义\'" style="padding-left: 5px; padding-right: 5px;"><label>-</label></td>                <td ng-if="range==\'自定义\'" style="width: 130px; ">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker                           k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']"                           style="width: 130px; ">                </td>                <td style="padding-left: 10px; padding-right: 10px;">医生科室</td>                <td style="width:100px">                    <input id="departmentInput" type="text" class="form-control" style="width:100px">                </td>                <td style="padding-left: 10px; padding-right: 10px;">医生</td>                <td style="width:100px">                    <input id="doctorInput" type="text" class="form-control" style="width:100px">                </td>                <td style="padding-left: 10px; padding-right: 10px;">助手</td>                <td style="width:100px">                    <input id="nurseInput" type="text" class="form-control" style="width:100px">                </td>                <td style="padding-left: 10px; padding-right: 10px;">病历类型</td>                <td style="width:100px">                    <input id="layoutTemplateInput" type="text" class="form-control" style="width:100px">                </td>                <td style="padding-left: 10px; padding-right: 10px;">病历归档</td>                <td style="width:100px">                    <input id="archiveInput" type="text" class="form-control" style="width:100px">                </td>                <td style="width: 50px; padding-left: 10px; padding-right: 10px; ">                    <a class="btn btn-default" style="padding: 6px" ares-slow-click="initGrid()">查询</a>                </td>                <td style="width: 50px; padding-left: 10px; padding-right: 10px; ">                    <button type="button" class="btn btn-default" ares-authorize="patientCenter.emrSearch.export"                            ares-slow-click="exportData()">                        <span class="glyphicon glyphicon-export"></span>导出                    </button>                </td>            </tr>        </table>    </div>    <div class="medical-record-body">        <div id="MedicalrecordList" class="no-inner-border"></div>    </div></div>');templateCache.put('/app/emr/views/medicalrecord-list/medicalrecord-home-view.html','<ares-tab states="states" commands="commands" class="ares-tab-ensure-height"></ares-tab>');templateCache.put('/app/emr/views/medicalrecord-list/medicalrecord-rejection-dialog-view.html','<div ares-modal-dragable ares-clean-kendo class="enyo">    <style>        .medical-record-rejection-reason{            font-size: 14px;            margin: 10px;            padding-bottom: 10px;        }        .medical-record-rejection-reason .rows{            margin-top: 8px;            display: flex;        }        .medical-record-rejection-reason .left-column{            color: #8C8C8C;            width: 70px;        }        .medical-record-rejection-reason .right-column{            flex: 1;        }    </style>    <div class="enyo-modal-container" ng-if="action === \'edit\'">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">打回</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content" style="height:200px;">            <textarea style="max-width:340px; max-height: 190px; width:340px;margin: 5px;border: 2px solid #CFDBDD;" rows="9" placeholder="请输入打回原因..."                      id="rejectionReason" ng-model="taskObj.rejectReason"></textarea>        </div>        <div class="enyo-modal-footer">            <span class="text-field" ng-click="cancel()">取消</span>            <button class="btn btn-primary last-field" ng-click="onSave()">确定</button>        </div>    </div>    <div class="enyo-modal-container" ng-if="action === \'readonly\'">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">待整改原因</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content">            <ul class="medical-record-rejection-reason">                <li class="rows">                    <span class="left-column">打回时间：</span><span class="right-column">{{taskObj.rejectTime}}</span>                </li>                <li class="rows">                    <span class="left-column">操作人员：</span><span class="right-column">{{taskObj.rejectUser}}</span>                </li>                <li class="rows">                    <span class="left-column">打回原因：</span><span class="right-column">{{taskObj.rejectReason}}</span>                </li>            </ul>        </div>    </div></div>');templateCache.put('/app/emr/views/medicalrecord-list/notwriting-medicalrecord-dialog-view.html','<div ares-modal-dragable ares-clean-kendo class="enyo">    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">填写备注</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content" style="padding:5px;">            <textarea style="max-width:340px;width:340px;max-height:140px;height:140px;border:2px solid #CFDBDD;" rows="5" id="taskNotes"                      placeholder="备注"></textarea>        </div>        <div class="enyo-modal-footer">            <span class="text-field" ng-click="cancel()">取消</span>            <button class="btn btn-primary last-field" ng-click="onSave()">确定</button>        </div>    </div></div>');templateCache.put('/app/emr/views/medicalrecord-list/notwriting-medicalrecord-list-view.html','<div class="ares-main-content enyo" ares-clean-kendo>    <div class="ares-page-header">        <table>            <tr>                <!--<td style="width:250px"><h1 style="margin:0">未写病历的预约</h1></td>-->                <!--<td style="padding-left: 10px; padding-right: 10px;">患者</td>                <td style="padding-right:10px">                    <input class="form-control" style="width:100px" ng-model="searchString" />                </td>-->                <td style="width: 100px;padding-right: 10px;">                    <select id="daysBeforeTodayInput" class="not-ignore" kendo-drop-down-list style=" width:100px"                        ng-model="range" ng-change="initDefaultTimeSpan()">                        <option value="yesterday">昨日</option>                        <option value="0">本日</option>                        <option value="week">本周</option>                        <option value="month">本月</option>                        <option value="自定义">自定义</option>                    </select>                </td>                <td ng-if="range==\'自定义\'" style="width: 130px;">                    <input id="startDatePicker" type="text" class="form-control" kendo-date-picker                        k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']"                        style="width: 130px;">                </td>                <td ng-if="range==\'自定义\'" style="padding-left: 5px; padding-right: 5px;"><label>-</label></td>                <td ng-if="range==\'自定义\'" style="width: 130px; ">                    <input id="endDatePicker" type="text" class="form-control" kendo-date-picker                        k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']"                        style="width: 130px; ">                </td>                <td style="padding-left: 10px; padding-right: 10px;">病历类型</td>                <td style="width:100px">                    <input id="layoutTemplateInput" type="text" class="form-control" style="width:100px">                </td>                <td style="padding-left: 10px; padding-right: 10px;">医生科室</td>                <td style="width:100px">                    <input id="departmentInput" type="text" class="form-control" style="width:100px">                </td>                <td style="padding-left: 10px; padding-right: 10px;">医生</td>                <td style="width:100px">                    <input id="doctorInput" type="text" class="form-control" style="width:100px">                </td>                <td style="padding-left: 10px; padding-right: 10px;">状态</td>                <td style="width:100px">                    <input id="medicalRecordStatus" type="text" class="form-control" style="width:100px">                </td>                <td ng-show="isDelunCustomFeatureOpen" style="padding-left: 10px; padding-right: 10px;">是否成交</td>                <td ng-show="isDelunCustomFeatureOpen" style="width:100px">                    <select class="not-ignore" kendo-drop-down-list style=" width:100px" ng-model="apptConsultState">                        <option value="-1">全部</option>                        <option value="0">未成交</option>                        <option value="1">已成交</option>                    </select>                </td>                <td style="width: 50px; padding-left: 10px; padding-right: 10px; ">                    <a class="btn btn-default" style="padding: 6px" ares-slow-click="initGrid()">查询</a>                </td>                <td style="width: 50px; ">                    <button type="button" class="btn btn-default" ares-slow-click="exportMedicalrecord()">                        <span class="glyphicon glyphicon-export" aria-hidden="true"></span>导出                    </button>                </td>            </tr>        </table>    </div>    <style>        #MedicalrecordList>table {            table-layout: fixed;        }        #MedicalrecordList .wrap-promt {            word-wrap: break-word;            overflow: hidden;            white-space: normal;        }        #MedicalrecordList .k-grid-header-locked {            margin-right: -10px;        }        #MedicalrecordList .k-grid-content-locked,        #MedicalrecordList .k-grid-header .k-grid-header-locked {            float: right;            border-width: 0;        }        #MedicalrecordList .custom-button.btn-small {            width: 36px;            border-width: 0;            padding: 0;            margin-left: 4px;            margin-right: 0;            background: transparent;        }        #MedicalrecordList .custom-button.btn-middle {            width: 60px;            border-width: 0;            padding: 0;            margin-left: 4px;            margin-right: 0;            background: transparent;        }        #MedicalrecordList .group-list {            text-align: left;        }    </style>    <div style="margin-top:10px; min-width: 1000px;">        <div id="MedicalrecordList" class="no-inner-border"></div>    </div></div>');})();